diff options
| author | ruki <[email protected]> | 2017-09-21 23:27:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-21 14:42:01 +0800 |
| commit | 034185734b5bc91f8188c15c9e02b0ce8ebaa850 (patch) | |
| tree | 17788345197514d464006129d76a0d36f2addf35 /xmake/actions/require/list.lua | |
| parent | 253e814d11d2af31088a22401a28b4a6abef70e3 (diff) | |
improve option and add require option
Diffstat (limited to 'xmake/actions/require/list.lua')
| -rw-r--r-- | xmake/actions/require/list.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/actions/require/list.lua b/xmake/actions/require/list.lua index 3964ff284..d809b9694 100644 --- a/xmake/actions/require/list.lua +++ b/xmake/actions/require/list.lua @@ -54,12 +54,11 @@ function main() return end - -- TODO -- enter environment environment.enter() -- pull all repositories first if not exists - if not repository.exists() then + if not repository.pulled() then task.run("repo", {update = true}) end |
