diff options
| author | ruki <[email protected]> | 2020-01-19 11:35:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-01-19 11:35:21 +0800 |
| commit | e07b57f40889e4ce5c95afccf81aee3e43d05b75 (patch) | |
| tree | d757dd362910bd3c3e507511f923a553a105267d /scripts | |
| parent | 3509342134d24e31940a8ad71066a764ba664d89 (diff) | |
revert root xmake.lua
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/srcenv.bat | 2 | ||||
| -rw-r--r-- | scripts/srcenv.profile | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/scripts/srcenv.bat b/scripts/srcenv.bat index 93a70d1a3..974c640b9 100644 --- a/scripts/srcenv.bat +++ b/scripts/srcenv.bat @@ -1,4 +1,4 @@ @echo off -set PATH=%cd%\..\build;%PATH% +set PATH=%cd%\..\core\build;%PATH% set XMAKE_PROGRAM_DIR=%cd%\..\xmake start cmd /k cd .. diff --git a/scripts/srcenv.profile b/scripts/srcenv.profile index 9a29d7324..46cb17234 100644 --- a/scripts/srcenv.profile +++ b/scripts/srcenv.profile @@ -1,10 +1,6 @@ # cd projectdir export XMAKE_PROGRAM_DIR=`pwd`/xmake -if [ -f `pwd`/build/xmake ]; then - alias xmake=`pwd`/build/xmake -else - alias xmake=`pwd`/core/src/demo/demo.b -fi +alias xmake=`pwd`/core/src/demo/demo.b xmake --version xmake l xmake.programdir xmake l xmake.programfile |
