2022-04-13 13:23:45 +08:00
|
|
|
pkg=$1
|
|
|
|
cp package/pikascript/pikascript-lib/PikaStdLib ../../package/ -r
|
2022-04-28 15:53:09 +08:00
|
|
|
cp package/pikascript/$pkg.pyi ../../package/PikaStdLib/
|
2022-06-11 14:56:51 +00:00
|
|
|
|
2022-04-13 13:23:45 +08:00
|
|
|
git add package/pikascript/pikascript-lib/PikaStdLib
|
2022-04-28 15:53:09 +08:00
|
|
|
git add package/pikascript/$pkg.pyi
|
2022-04-13 13:23:45 +08:00
|
|
|
git add ../../package/PikaStdLib
|
2023-06-30 00:25:42 +08:00
|
|
|
|
|
|
|
# check if test/python/$pkg folder is exit
|
|
|
|
if [ -d "test/python/$pkg" ] ; then
|
|
|
|
echo "$FLAG_INFO python test files added:"
|
|
|
|
rm ../../examples/$pkg -rf
|
|
|
|
mkdir ../../examples/$pkg
|
|
|
|
cp test/python/$pkg/*.py ../../examples/$pkg -r
|
2023-07-06 23:09:49 +08:00
|
|
|
git add test/python/$pkg
|
2023-06-30 00:25:42 +08:00
|
|
|
git add ../../examples/$pkg
|
|
|
|
ls ../../examples/$pkg
|
|
|
|
fi
|