summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorruki <[email protected]>2015-04-28 18:20:48 +0800
committerruki <[email protected]>2015-04-28 18:20:48 +0800
commit3dfa09ba04c127a68d47b6144b586006a95b6820 (patch)
tree0e22df47217df9d98f51276a6a7be143d0dde338 /install
parent43e612143df1333bc3e5d0d86c6c21619b9031d0 (diff)
impl install.bat
Diffstat (limited to 'install')
-rwxr-xr-xinstall8
1 files changed, 6 insertions, 2 deletions
diff --git a/install b/install
index ca8537bf3..1a936d3db 100755
--- a/install
+++ b/install
@@ -35,13 +35,14 @@ if [ $plat = "linux" ] || [ $plat = "mac" ]; then
fi
# compile xmake-core
+echo compiling xmake-core...
cd ./core
if [ -f .config.mak ]; then
rm .config.mak
fi
-make f DEBUG=$debug
+make f DEBUG=$debug > ../install.log
if [ $? -ne 0 ]; then exit; fi
-make r
+make r >> ../install.log
if [ $? -ne 0 ]; then exit; fi
cd ..
@@ -75,3 +76,6 @@ xmake_loader_install=/usr/local/bin/xmake
sudo mv $xmake_loader $xmake_loader_install
sudo chmod 777 $xmake_loader_install
if [ $? -ne 0 ]; then exit; fi
+
+# ok
+echo ok!