summaryrefslogtreecommitdiff
path: root/scripts/srcenv.profile
diff options
context:
space:
mode:
authorruki <[email protected]>2020-01-19 11:35:21 +0800
committerruki <[email protected]>2020-01-19 11:35:21 +0800
commite07b57f40889e4ce5c95afccf81aee3e43d05b75 (patch)
treed757dd362910bd3c3e507511f923a553a105267d /scripts/srcenv.profile
parent3509342134d24e31940a8ad71066a764ba664d89 (diff)
revert root xmake.lua
Diffstat (limited to 'scripts/srcenv.profile')
-rw-r--r--scripts/srcenv.profile6
1 files changed, 1 insertions, 5 deletions
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