build.sh 260 B

12345678910111213
  1. #!/bin/bash
  2. # set current working directory to directory of the shell script
  3. cd "$(dirname "$0")"
  4. # before
  5. npm ci 2> /dev/null || npm i
  6. # copy
  7. cp node_modules/bootstrap/dist/css/bootstrap.min.css ../../vendor/bootstrap.min.css
  8. # after
  9. rm -rf node_modules/