Skip to content

Commit

Permalink
DB switch in install-libs.sh, OS switch in build-all.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeShark committed Aug 17, 2014
1 parent c8c00ec commit e84c193
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-all.sh
Expand Up @@ -6,6 +6,7 @@ do
linux)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=linux
OPTIONS="OS=linux $OPTIONS"
;;

mingw64)
Expand All @@ -18,6 +19,7 @@ do
osx)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=osx
OPTIONS="OS=osx $OPTIONS"
;;

debug)
Expand Down
5 changes: 5 additions & 0 deletions install-libs.sh
Expand Up @@ -6,26 +6,31 @@ do
linux)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=linux
OPTIONS="OS=linux $OPTIONS"
;;

mingw64)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=mingw64
OPTIONS="OS=mingw64 $OPTIONS"
;;

osx)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=osx
OPTIONS="OS=osx $OPTIONS"
;;

sqlite)
if [[ ! -z "$DB" ]]; then echo "DB cannot be set twice"; exit 1; fi
DB=sqlite
OPTIONS="DB=sqlite $OPTIONS"
;;

mysql)
if [[ ! -z "$DB" ]]; then echo "DB cannot be set twice"; exit 1; fi
DB=mysql
OPTIONS="DB=mysql $OPTIONS"
;;

debug)
Expand Down

0 comments on commit e84c193

Please sign in to comment.