Mercurial > hg > beaglert
diff scripts/build_pd_heavy.sh @ 525:1ca196e35105 prerelease
Upated scripts
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Thu, 23 Jun 2016 13:22:59 +0100 |
parents | 42f6af3a5f1d |
children | c301cc07ae11 |
line wrap: on
line diff
--- a/scripts/build_pd_heavy.sh Thu Jun 23 10:19:24 2016 +0100 +++ b/scripts/build_pd_heavy.sh Thu Jun 23 13:22:59 2016 +0100 @@ -35,14 +35,12 @@ usage () { +build_script_usage_brief ' [-o] [--noupload] [-r|--release release] ' echo " -USAGE: build_pd.sh [[-i input folder containing _main.pd file ] - [-o output folder for temp heavy project .c files (default $projectpath)] - [-b remote path to copy to (default ~/Bela)] | [-h] | [-w|--watch] | [-n|--noupload] | [-r|--release arg] - -example: build_pd.sh -o ../projects/heavy/hello-world ../projects/heavy/pd/hello-world - --r allows to build against a specific Heavy release. Default is the most recent version. + example: build_pd.sh -o ../projects/heavy/hello-world ../projects/heavy/pd/hello-world + + -r allows to build against a specific Heavy release. Default is the + most recent release ( see revision list here https://enzienaudio.com/a/releases ) " build_script_usage } @@ -78,11 +76,11 @@ BBB_PROJECT_NAME="$1" ;; --clean) - BBB_MAKEFILE_OPTIONS="$BBB_MAKEFILE_OPTIONS clean" + BBB_MAKEFILE_OPTIONS="$BBB_MAKEFILE_OPTIONS projectclean" ;; -m) shift - BBB_MAKEFILE_OPTIONS="BBB_MAKEFILE_OPTIONS $1" + BBB_MAKEFILE_OPTIONS="$BBB_MAKEFILE_OPTIONS $1" ;; --watch) WATCH=1 @@ -141,7 +139,6 @@ rm -rf "$projectpath"/$file done # invoke the online compiler - echo "$BELA_PYTHON27" $HVRESOURCES_DIR/uploader.py "$pdpath"/ -n $ENZIENAUDIO_COM_PATCH_NAME -g c -o "$projectpath" $RELEASE_STRING "$BELA_PYTHON27" $HVRESOURCES_DIR/uploader.py "$pdpath"/ -n $ENZIENAUDIO_COM_PATCH_NAME -g c -o "$projectpath" $RELEASE_STRING ||\ { echo "ERROR: an error occurred while executing the uploader.py script"; exit 1; } fi; @@ -197,7 +194,7 @@ # Make new Bela executable and run # It does not look very nice that we type the same things over and over # but that is because each line is an ssh session in its own right - MAKE_COMMAND="make stop -C $BBB_BELA_HOME PROJECT='$BBB_PROJECT_NAME' CL='$COMMAND_ARGS'" + MAKE_COMMAND="make --no-print-directory QUIET=true -C $BBB_BELA_HOME PROJECT='$BBB_PROJECT_NAME' CL='$COMMAND_ARGS' $BBB_MAKEFILE_OPTIONS" if [ $RUN_PROJECT -eq 0 ] then echo "Building project..."