File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ PLATFORM=""
55ARCH=" "
66OVERWRITE=1
77SILENT_ARGS=" "
8+ BLEEDING_EDGE=0
89
910printHelp (){
1011cat << EOF
@@ -34,8 +35,13 @@ if [[ ! -d "$SCRIPT_DIR" ]]; then SCRIPT_DIR="$PWD"; fi
3435download (){
3536 echo " Downloading $1 "
3637 # downloader ci.openframeworks.cc/libs/$1 $SILENT_ARGS
37- echo downloader https://github.com/openframeworks/apothecary/releases/download/nightly/$1 $SILENT_ARGS
38- downloader https://github.com/openframeworks/apothecary/releases/download/nightly/$1 $SILENT_ARGS
38+ if [[ $BLEEDING_EDGE = 1 ]] ; then
39+ echo downloader https://github.com/openframeworks/apothecary/releases/download/bleeding/$1 $SILENT_ARGS
40+ downloader https://github.com/openframeworks/apothecary/releases/download/bleeding/$1 $SILENT_ARGS
41+ else
42+ echo downloader https://github.com/openframeworks/apothecary/releases/download/nightly/$1 $SILENT_ARGS
43+ downloader https://github.com/openframeworks/apothecary/releases/download/nightly/$1 $SILENT_ARGS
44+ fi
3945}
4046
4147# trap any script errors and exit
@@ -79,6 +85,9 @@ while [[ $# -gt 0 ]]; do
7985 -n|--no-overwrite)
8086 OVERWRITE=0
8187 ;;
88+ -b|--bleeding-edge)
89+ BLEEDING_EDGE=1
90+ ;;
8291 -s|--silent)
8392 SILENT_ARGS=-nv
8493 ;;
You can’t perform that action at this time.
0 commit comments