Mercurial > hg > vamp-build-and-test
diff SCRIPTS/process.sh @ 120:4729c8589274 emscripten-piper
Add piper builds
author | Chris Cannam |
---|---|
date | Fri, 11 Nov 2016 15:49:32 +0000 |
parents | 4d3bba3c0fe7 |
children |
line wrap: on
line diff
--- a/SCRIPTS/process.sh Fri Nov 11 14:34:56 2016 +0000 +++ b/SCRIPTS/process.sh Fri Nov 11 15:49:32 2016 +0000 @@ -36,14 +36,16 @@ echo echo "Usage: $0 <platform> [-c] [<dir> ...]" echo - echo " <platform> one of native, linux32, linux64, mingw32, mingw64, osx32, osx64" - echo " -c build from clean" - echo " <dir> directory to build (default is all of them)" + echo " <platform> one of:" + echo " native, linux32, linux64, mingw32, mingw64, osx32, osx64, piper" + echo " -c build from clean" + echo " <dir> directory to build (default is all of them)" echo echo "Platform usually should match the platform you are running this" echo "script on, unless you have a cross-compile toolset installed and" - echo "this script knows how to run it. The special platform 'native'" - echo "tries to guess the currently running platform." + echo "this script knows how to run it. The 'piper' platform builds a" + echo "portable Piper API Javascript module using Emscripten. The special" + echo "platform 'native' tries to guess the currently running platform." echo exit 2 } @@ -134,6 +136,10 @@ archflags="-mmacosx-version-min=10.7 -arch x86_64 -arch i386 -stdlib=libc++" identpattern='Mach-O 64-bit .*x86_64' ;; + piper) + shift + exec "$mydir"/process-piper.sh "$@" + ;; *) usage ;;