pikapython/init.sh
2021-08-23 18:50:20 +08:00

17 lines
362 B
Bash

ROOT=$PWD
git submodule init
git submodule update
rm src/package/pikascript/pikascript-api -rf
mkdir src/package/pikascript/pikascript-api
touch src/package/pikascript/pikascript-api/path
cd src/package/pikascript/pikascript-core
git checkout master
cd $ROOT
rm build -rf
mkdir build
sh api-make.sh
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cd $ROOT
sh make.sh