2021-08-21 17:28:22 +08:00
|
|
|
ROOT=$PWD
|
2021-10-01 09:06:17 +08:00
|
|
|
# git submodule init
|
|
|
|
# git submodule update
|
2021-08-24 10:50:59 +08:00
|
|
|
sh update-compiler.sh
|
2021-10-01 09:06:17 +08:00
|
|
|
rm package/pikascript/pikascript-api -rf
|
|
|
|
mkdir package/pikascript/pikascript-api
|
|
|
|
touch package/pikascript/pikascript-api/path
|
|
|
|
cd package/pikascript/pikascript-core
|
|
|
|
# git checkout master
|
2021-08-21 17:28:22 +08:00
|
|
|
cd $ROOT
|
2021-08-21 17:21:54 +08:00
|
|
|
rm build -rf
|
2021-08-21 16:55:09 +08:00
|
|
|
mkdir build
|
2021-08-23 18:42:41 +08:00
|
|
|
sh api-make.sh
|
2021-08-21 16:55:09 +08:00
|
|
|
cd build
|
2021-08-22 13:33:22 +08:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Debug ..
|
2021-08-21 17:28:22 +08:00
|
|
|
cd $ROOT
|
2021-08-21 17:01:05 +08:00
|
|
|
sh make.sh
|