build.sh 208 B

12345678910111213141516171819
  1. #!/bin/bash
  2. cd "${0%/*}"
  3. #
  4. # 打包FE包
  5. #
  6. #
  7. if [ -d "output" ]; then
  8. printf '%s\n' "Removing output"
  9. rm -rf output
  10. fi
  11. mkdir -p output
  12. cp -rp assets output
  13. cp -rp dep output
  14. cp -rp *.html output