diff --git a/js_framework_build.sh b/js_framework_build.sh index 95192d6a9c1d9431e9c3151b64685d6088618d41..28dd2c82f7a3470041b3a57bed231d4008e2574f 100755 --- a/js_framework_build.sh +++ b/js_framework_build.sh @@ -15,19 +15,33 @@ set -e echo "copy source code..." prebuilts_path=${11} +echo "${11}" +echo "${10}" +echo "$2" +echo "$8" +ls -R "../../third_party/jsframework/runtime/src" # copy dependency file to generate dir of gn # the params come from .gn # copy runtime to target out, and runtime/css-what is solt link, copy it always follow symbolic links in SOURCE +echo "TEST:copy runtime to target out" if [ "${10}" == 'true' ];then + echo "$2" + echo "$8" + echo "TEST" cp -R -L $2 $8 else + echo "$2" + echo "$8" cp -r -L $2 $8 fi +echo "end TEST" # $2 => node $4 => node_modules +echo "TEST:node_modules" cp -f $4 $8 +echo "TEST:copy node_modules..." if [ -d "$prebuilts_path" ]; then echo "copy node_modules..." if [ "${10}" == 'true' ];then @@ -40,7 +54,9 @@ else npm install cp -r ./node_modules ../../third_party/jsframework fi +echo "end TEST" +echo "TEST:prebuilts exists..." cp -f $5 $8 cp -f $6 $8 cp -f ${9} $8 @@ -69,8 +85,10 @@ else # run unit test npm run test:unit fi +echo "end TEST" # after running, remove dependency file +echo "TEST:after running..." rm -rf ./node_modules if [ "${10}" == 'true' ];then rm -rf ./current @@ -84,3 +102,6 @@ rm -rf ./test rm -rf ./.eslintrc rm -rf ./.babelrc rm -rf ./package.json +echo "$2" +ls -R "../../third_party/jsframework/runtime/src" +echo "======end TEST2024========"