Skip to content

Commit a8ce5a0

Browse files
committed
restore make.bat and make.sh
resolve #3296
1 parent 5f1226d commit a8ce5a0

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

make.bat

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
git submodule update --init --recursive
2+
cd 3rd\luamake
3+
call compile\build.bat
4+
cd ..\..
5+
IF "%~1"=="" (
6+
call 3rd\luamake\luamake.exe rebuild
7+
) ELSE (
8+
call 3rd\luamake\luamake.exe rebuild --platform %1
9+
)

make.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
3+
git submodule update --init --recursive
4+
pushd 3rd/luamake
5+
./compile/build.sh
6+
popd
7+
if [ -z "$1" ]; then
8+
3rd/luamake/luamake rebuild
9+
else
10+
3rd/luamake/luamake rebuild --platform "$1"
11+
fi

0 commit comments

Comments
 (0)