diff options
| author | ruki <[email protected]> | 2020-10-22 22:42:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-22 22:42:40 +0800 |
| commit | 1d507f114e9146fd578b960cc72ece3875fceb56 (patch) | |
| tree | 00afea01089059561da7fff178e083949ee327b3 | |
| parent | c420bcf06c11e7ac62c0e5a0873791572d6e3a59 (diff) | |
add xrepo shell
| -rwxr-xr-x | scripts/xrepo/xrepo | 2 | ||||
| -rwxr-xr-x | scripts/xrepo/xrepo.bat | 1 | ||||
| -rw-r--r-- | xmake/modules/private/xrepo/main.lua | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/scripts/xrepo/xrepo b/scripts/xrepo/xrepo new file mode 100755 index 000000000..2997cf59e --- /dev/null +++ b/scripts/xrepo/xrepo @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +xmake lua private.xrepo "$@" diff --git a/scripts/xrepo/xrepo.bat b/scripts/xrepo/xrepo.bat new file mode 100755 index 000000000..ec8fb8da5 --- /dev/null +++ b/scripts/xrepo/xrepo.bat @@ -0,0 +1 @@ +xmake lua private.xrepo %* diff --git a/xmake/modules/private/xrepo/main.lua b/xmake/modules/private/xrepo/main.lua index b2b29c257..b873a4b9c 100644 --- a/xmake/modules/private/xrepo/main.lua +++ b/xmake/modules/private/xrepo/main.lua @@ -37,5 +37,4 @@ function main(...) , "" , "Usage: xrepo [action] [options]") - print("sss") end |
