From 0cf898bf2779739f31befc8054f325c7574b0660 Mon Sep 17 00:00:00 2001 From: siddontang Date: Thu, 4 Sep 2014 16:55:18 +0800 Subject: [PATCH] update lua build --- Makefile | 2 +- dev.sh | 2 +- tools/check_lua.go | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d98fc4d..f5b6dcd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ INSTALL_PATH ?= $(CURDIR) -$(shell ./bootstrap.sh) +$(shell ./bootstrap.sh >> /dev/null 2>&1) $(shell ./tools/build_config.sh build_config.mk $INSTALL_PATH) diff --git a/dev.sh b/dev.sh index 7b42c8e..a9be046 100644 --- a/dev.sh +++ b/dev.sh @@ -76,7 +76,7 @@ fi #check lua 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 GO_BUILD_TAGS="$GO_BUILD_TAGS lua" fi diff --git a/tools/check_lua.go b/tools/check_lua.go index f0fccf8..bc82c04 100644 --- a/tools/check_lua.go +++ b/tools/check_lua.go @@ -1,3 +1,5 @@ +// +build ignore + package main import "github.com/siddontang/golua/lua"