update lua build

This commit is contained in:
siddontang 2014-09-04 16:55:18 +08:00
parent b9ea592026
commit 0cf898bf27
3 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
INSTALL_PATH ?= $(CURDIR) INSTALL_PATH ?= $(CURDIR)
$(shell ./bootstrap.sh) $(shell ./bootstrap.sh >> /dev/null 2>&1)
$(shell ./tools/build_config.sh build_config.mk $INSTALL_PATH) $(shell ./tools/build_config.sh build_config.mk $INSTALL_PATH)

2
dev.sh
View File

@ -76,7 +76,7 @@ fi
#check lua #check lua
CHECK_LUA_FILE="$LEDISTOP/tools/check_lua.go" CHECK_LUA_FILE="$LEDISTOP/tools/check_lua.go"
go run $CHECK_LUA_FILE 2>/dev/null go run $CHECK_LUA_FILE >> /dev/null 2>&1
if [ "$?" = 0 ]; then if [ "$?" = 0 ]; then
GO_BUILD_TAGS="$GO_BUILD_TAGS lua" GO_BUILD_TAGS="$GO_BUILD_TAGS lua"
fi fi

View File

@ -1,3 +1,5 @@
// +build ignore
package main package main
import "github.com/siddontang/golua/lua" import "github.com/siddontang/golua/lua"