forked from github/server
use luarocks
This commit is contained in:
parent
ef6fa16496
commit
f5d352b680
|
@ -17,6 +17,7 @@ addons:
|
|||
- valgrind
|
||||
- cppcheck
|
||||
- shellcheck
|
||||
- luarocks
|
||||
os:
|
||||
- linux
|
||||
notifications:
|
||||
|
|
2
clibs
2
clibs
|
@ -1 +1 @@
|
|||
Subproject commit abe774f70265de14ea7f5e530518ca130562a9c9
|
||||
Subproject commit 484fbf23e34f6844f1c4e3f685bb6c53cadf5bfe
|
2
s/build
2
s/build
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
ROOT=$(git rev-parse --show-toplevel)
|
||||
|
||||
eval $(luarocks path)
|
||||
[ -z "$BUILD" ] && BUILD=Debug
|
||||
if [ -z "$JOBS" ] ; then
|
||||
if [ -e /usr/sbin/sysctl ]; then
|
||||
|
|
|
@ -6,6 +6,7 @@ pkg-config --exists sqlite3 && ERESSEA_DB=sqlite
|
|||
GETOPT=getopt
|
||||
GETOPT_LONG=1
|
||||
|
||||
luarocks install lunitx --local
|
||||
if [ "Darwin" = "$(uname)" ] ; then
|
||||
if [ -x "/usr/local/opt/gnu-getopt/bin/getopt" ] ; then
|
||||
GETOPT="/usr/local/opt/gnu-getopt/bin/getopt"
|
||||
|
@ -74,8 +75,6 @@ fi
|
|||
|
||||
DEST=$(dirname $ROOT)/server
|
||||
|
||||
git submodule update --init
|
||||
|
||||
LUA_VERSION="5.2"
|
||||
LUA_INCLUDE=/usr/include
|
||||
LUA_DIR=/usr
|
||||
|
|
Loading…
Reference in New Issue