summaryrefslogtreecommitdiff
path: root/xmake/scripts/_xmake_main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-30 22:41:02 +0800
committerruki <[email protected]>2015-05-30 22:41:02 +0800
commitad9d27ef9a74603063755857b0a0191e486c1e8d (patch)
tree6284b7af6b5d8460c1609d96c9b379c4dcf637fe /xmake/scripts/_xmake_main.lua
parent87683f4d3ba6d41c0b8900244e05dee4f84e2e62 (diff)
add run target and lua actions
Diffstat (limited to 'xmake/scripts/_xmake_main.lua')
-rw-r--r--xmake/scripts/_xmake_main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/_xmake_main.lua b/xmake/scripts/_xmake_main.lua
index 2aeeef35f..a81c37511 100644
--- a/xmake/scripts/_xmake_main.lua
+++ b/xmake/scripts/_xmake_main.lua
@@ -28,12 +28,12 @@ xmake._ARCH = _ARCH
xmake._VERSION = "XMake v1.0.1"
xmake._PROGRAM_DIR = _PROGRAM_DIR
xmake._PROJECT_DIR = _PROJECT_DIR
-xmake._SCRIPTS_DIR = _PROGRAM_DIR .. "/scripts/"
+xmake._SCRIPTS_DIR = _PROGRAM_DIR .. "/scripts"
xmake._OPTIONS = {}
xmake._CONFIGS = {}
-- init package path
-package.path = xmake._SCRIPTS_DIR .. "?.lua;" .. package.path
+package.path = xmake._SCRIPTS_DIR .. "/?.lua;" .. package.path
-- load modules
local main = require("base/main")