mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
18 lines
575 B
Bash
18 lines
575 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
# A useful script to download the latest version of bootstrap and jquery
|
||
|
|
||
|
rm -rf node_modules package-lock.json
|
||
|
npm install bootstrap@4 jquery@3
|
||
|
|
||
|
rm -rf _sass/bootstrap
|
||
|
mkdir -p _sass/bootstrap
|
||
|
cp -r node_modules/bootstrap/scss/* _sass/bootstrap
|
||
|
touch _sass/bootstrap/__DO_NOT_MODIFY
|
||
|
|
||
|
rm -rf assets/javascript/bootstrap
|
||
|
mkdir -p assets/javascript/bootstrap
|
||
|
cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.* assets/javascript/bootstrap/
|
||
|
cp node_modules/jquery/dist/jquery.min.* assets/javascript/bootstrap/
|
||
|
touch assets/javascript/bootstrap/__DO_NOT_MODIFY
|