2022-04-19 18:30:24 +08:00
|
|
|
if [ $# != 1 ] ; then
|
|
|
|
echo "USAGE: $0 [pkg name]"
|
|
|
|
echo " e.g.: $0 ctypes"
|
|
|
|
exit 1;
|
|
|
|
fi
|
2021-12-13 22:16:50 +08:00
|
|
|
pkg=$1
|
2022-04-07 22:57:59 +08:00
|
|
|
cp package/pikascript/pikascript-lib/$pkg ../../package/ -r
|
2022-07-08 09:33:53 +00:00
|
|
|
cp package/pikascript/$pkg.pyi ../../package/$pkg/
|
2022-07-12 15:12:37 +08:00
|
|
|
cp package/pikascript/$pkg.py ../../package/$pkg/
|
2022-07-04 17:59:59 +08:00
|
|
|
|
2022-04-07 22:57:59 +08:00
|
|
|
git add package/pikascript/pikascript-lib/$pkg
|
2022-07-08 09:33:53 +00:00
|
|
|
git add package/pikascript/$pkg.pyi
|
2022-07-12 15:12:37 +08:00
|
|
|
git add package/pikascript/$pkg.py
|
2022-07-04 17:59:59 +08:00
|
|
|
|
2022-04-07 22:57:59 +08:00
|
|
|
git add ../../package/$pkg
|