mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-04 16:13:23 +00:00
The structure of some language packs is very outdated, leading to missing user interface text when using these packs. Developed a Python script to sync the structure of all language packs against the master pack (English) so that each pack has the latest set of localisation strings. Note that synced items will still need translating, this commit just ensures that all language packs have the same structure. Fix #1062
14 lines
485 B
Bash
14 lines
485 B
Bash
#!/usr/bin/env bash
|
|
# Script to copy Bootstrap files into project after running `npm install` to download Bootstrap.
|
|
|
|
ASSETS_JS_DIR="assets/js/vendor/"
|
|
ASSETS_SCSS_DIR="assets/sass/vendor/"
|
|
|
|
mkdir -p $ASSETS_SCSS_DIR/bootstrap/
|
|
|
|
cp node_modules/bootstrap/dist/js/bootstrap.min.js $ASSETS_JS_DIR
|
|
cp -r node_modules/bootstrap/scss/* $ASSETS_SCSS_DIR/bootstrap/
|
|
|
|
# cp node_modules/jquery/dist/jquery.min.js $ASSETS_JS_DIR
|
|
# cp node_modules/popper.js/dist/umd/popper.min.js $ASSETS_JS_DIR
|