Ignore:
Timestamp:
2014-10-20T20:50:49+13:00 (10 years ago)
Author:
sjm84
Message:

Related to commit 29387. Changes to allow the release-kits to preserve the source code, to better enable debugging of differences in the release-kits. Tested with GS3 on the 32 bit linux: without setting the new KEEP_SRC env var in bin/rk, it still removes the src code as before and produces a binary of the same size as before. With the KEEP_SRC env var set to true in bin/rk, src code (gs2build/common-src, gli/src and GS3/src) is preserved. Untested on Windows or with gs2 since the gs2 binary generation on linux 32 is not working at present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/bin/rk

    r23575 r29393  
    4646toexec="ant -lib \"`pwd`/installer/classes\" -f \"$RK_HOME/kits/$rk_name/ant-scripts/build.xml\" \"-Dbasedir=`pwd`\" \"-Drk.home=$RK_HOME\" \"-Drk.name=$rk_name\""
    4747
     48# Generally, an ant property can be true|on|yes vs false|off|no (or left unset)
     49# see https://ant.apache.org/manual/properties.html#if+unless
     50# However, the release-kit code requires envvar KEEP_SRC to be "true" in order to stop it deleting source code
     51#KEEP_SRC=true
     52if test -n $KEEP_SRC ; then
     53    toexec="$toexec \"-Dkeep.src=$KEEP_SRC\""
     54fi
     55
    4856#pass on the arguments
    4957while [ "$1" != "" ]; do
Note: See TracChangeset for help on using the changeset viewer.