comparison scripts/build_pd_heavy.sh @ 430:2e01a9d6cb58 prerelease

Removed all the function()
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 16 Jun 2016 19:25:01 +0100
parents b27676f871d7
children cfd1f896cc6f
comparison
equal deleted inserted replaced
429:8533f7198644 430:2e01a9d6cb58
42 to your python2.7 executable in the environmental variable \$BELA_PYTHON27" 42 to your python2.7 executable in the environmental variable \$BELA_PYTHON27"
43 exit 1; 43 exit 1;
44 fi; 44 fi;
45 45
46 46
47 function usage 47 usage ()
48 { 48 {
49 printf "\nUSAGE: build_pd.sh [[-i input folder containing _main.pd file ]\ 49 printf "\nUSAGE: build_pd.sh [[-i input folder containing _main.pd file ]\
50 [-o output folder for new heavy project .c files (default ../projects/heavy/hvtemp)]\ 50 [-o output folder for new heavy project .c files (default ../projects/heavy/hvtemp)]\
51 [-b bbb path to copy to (default ~/Bela)] | [-h] | [-w|--watch] | [-n|--noupload] | [-r|--release arg]\n" 51 [-b bbb path to copy to (default ~/Bela)] | [-h] | [-w|--watch] | [-n|--noupload] | [-r|--release arg]\n"
52 printf "\nexample: build_pd.sh -i ../projects/heavy/pd/hello-world -o ../projects/heavy/hello-world\n" 52 printf "\nexample: build_pd.sh -i ../projects/heavy/pd/hello-world -o ../projects/heavy/hello-world\n"
98 RELEASE_STRING= 98 RELEASE_STRING=
99 else 99 else
100 RELEASE_STRING="-r $release" 100 RELEASE_STRING="-r $release"
101 fi 101 fi
102 102
103 function uploadBuildRun(){ 103 uploadBuildRun(){
104 if [ $NO_UPLOAD -eq 0 ]; then 104 if [ $NO_UPLOAD -eq 0 ]; then
105 # remove old static files to avoid obsolete errors 105 # remove old static files to avoid obsolete errors
106 # use -rf to prevent warnings in case they do not exist 106 # use -rf to prevent warnings in case they do not exist
107 rm -rf "$projectpath"/Hv* "$projectpath"/Message* "$projectpath"/Control* "$projectpath"/Signal* >/dev/null 2>&1 107 rm -rf "$projectpath"/Hv* "$projectpath"/Message* "$projectpath"/Control* "$projectpath"/Signal* >/dev/null 2>&1
108 108