diff options
| author | ruki <[email protected]> | 2016-05-11 11:23:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-05-11 11:23:10 +0800 |
| commit | 4b32ac0799e14663522b8b6c42c4343041342183 (patch) | |
| tree | 72e71305480ff2717a6abc7794b759b936d708ee /xmake/tools/lib.lua | |
| parent | e89130661686f0f3faf4ac87c989865b5fcc4823 (diff) | |
add environment
Diffstat (limited to 'xmake/tools/lib.lua')
| -rwxr-xr-x | xmake/tools/lib.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/xmake/tools/lib.lua b/xmake/tools/lib.lua index a54a69d89..b2d81a2c6 100755 --- a/xmake/tools/lib.lua +++ b/xmake/tools/lib.lua @@ -20,9 +20,6 @@ -- @file lib.lua -- --- imports -import("utils.vsenv") - -- init it function init(shellname) @@ -40,26 +37,14 @@ end -- run command function run(...) - -- enter vs envirnoment - vsenv.enter() - -- run it os.run(...) - - -- leave vs envirnoment - vsenv.leave() end -- check the given flags function check(flags) - -- enter vs envirnoment - vsenv.enter() - -- check it os.run("%s", _g.shellname, ifelse(flags, flags, "")) - - -- leave vs envirnoment - vsenv.leave() end |
