diff options
| author | ruki <[email protected]> | 2020-10-23 23:22:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-23 23:22:40 +0800 |
| commit | 59abb0aad7f4a123bc6cc9ae7e1ac4d4b7f73e92 (patch) | |
| tree | 22997bd3b22b84c549ce8653ef69f3ed9bed7a44 /scripts | |
| parent | 2bd85f7814e6aa5d23f5e2218c03290d10921dee (diff) | |
install xrepo
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/srcenv.bat | 2 | ||||
| -rwxr-xr-x | scripts/srcenv.profile | 1 | ||||
| -rwxr-xr-x | scripts/xrepo.bat | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/scripts/srcenv.bat b/scripts/srcenv.bat index 974c640b9..661e8e134 100755 --- a/scripts/srcenv.bat +++ b/scripts/srcenv.bat @@ -1,4 +1,4 @@ @echo off -set PATH=%cd%\..\core\build;%PATH% +set PATH=%cd%\..\core\build;%cd%;%PATH% set XMAKE_PROGRAM_DIR=%cd%\..\xmake start cmd /k cd .. diff --git a/scripts/srcenv.profile b/scripts/srcenv.profile index 5e69b5540..1bbc4d762 100755 --- a/scripts/srcenv.profile +++ b/scripts/srcenv.profile @@ -5,6 +5,7 @@ if [ -f `pwd`/core/build/xmake ]; then else alias xmake=`pwd`/core/src/demo/demo.b fi +alias xrepo=`pwd`/scripts/xrepo xmake --version xmake l xmake.programdir xmake l xmake.programfile diff --git a/scripts/xrepo.bat b/scripts/xrepo.bat index ec8fb8da5..ff95b722a 100755 --- a/scripts/xrepo.bat +++ b/scripts/xrepo.bat @@ -1 +1,2 @@ +@echo off xmake lua private.xrepo %* |
