diff options
| author | ruki <[email protected]> | 2022-12-25 17:01:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-25 17:01:42 +0800 |
| commit | 3cb3727b67b20187d04be2270c493d4ce6c6924f (patch) | |
| tree | 5dd898eb2baa9c259f11ed04e384e773f81a5c96 /scripts/srcenv.profile | |
| parent | 356e329b95274646056c3002ac272a187953e53d (diff) | |
fix compile_commands
Diffstat (limited to 'scripts/srcenv.profile')
| -rwxr-xr-x | scripts/srcenv.profile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/srcenv.profile b/scripts/srcenv.profile index c673b2636..f2f4e5a26 100755 --- a/scripts/srcenv.profile +++ b/scripts/srcenv.profile @@ -1,12 +1,7 @@ # cd projectdir export XMAKE_PROGRAM_DIR=`pwd`/xmake -if [ -f `pwd`/core/build/xmake ]; then - alias xmake=`pwd`/core/build/xmake - export XMAKE_PROGRAM_FILE=`pwd`/core/build/xmake -else - alias xmake=`pwd`/core/src/demo/demo.b - export XMAKE_PROGRAM_FILE=`pwd`/core/src/demo/demo.b -fi +alias xmake=`pwd`/build/xmake +export XMAKE_PROGRAM_FILE=`pwd`/build/xmake alias xrepo=`pwd`/scripts/xrepo.sh xmake --version xmake l xmake.programdir |
