From e07b57f40889e4ce5c95afccf81aee3e43d05b75 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 19 Jan 2020 11:35:21 +0800 Subject: revert root xmake.lua --- scripts/srcenv.bat | 2 +- scripts/srcenv.profile | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'scripts') 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 -- cgit v1.3.1