update_bootstrap.sh 519 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. # Script to copy Bootstrap files into project after running `npm install` to download Bootstrap.
  3. # Use: run from project root dir.
  4. ASSETS_JS_DIR="assets/js/vendor/"
  5. ASSETS_SCSS_DIR="assets/scss/vendor/"
  6. mkdir -p $ASSETS_SCSS_DIR/bootstrap/
  7. cp node_modules/bootstrap/dist/js/bootstrap.min.js $ASSETS_JS_DIR
  8. cp -r node_modules/bootstrap/scss/* $ASSETS_SCSS_DIR/bootstrap/
  9. # cp node_modules/jquery/dist/jquery.min.js $ASSETS_JS_DIR
  10. # cp node_modules/popper.js/dist/umd/popper.min.js $ASSETS_JS_DIR