std_push.sh 557 B

123456789101112131415161718
  1. pkg=$1
  2. cp package/pikascript/pikascript-lib/PikaStdLib ../../package/ -r
  3. cp package/pikascript/$pkg.pyi ../../package/PikaStdLib/
  4. git add package/pikascript/pikascript-lib/PikaStdLib
  5. git add package/pikascript/$pkg.pyi
  6. git add ../../package/PikaStdLib
  7. # check if test/python/$pkg folder is exit
  8. if [ -d "test/python/$pkg" ] ; then
  9. echo "$FLAG_INFO python test files added:"
  10. rm ../../examples/$pkg -rf
  11. mkdir ../../examples/$pkg
  12. cp test/python/$pkg/*.py ../../examples/$pkg -r
  13. git add test/python/$pkg
  14. git add ../../examples/$pkg
  15. ls ../../examples/$pkg
  16. fi