Created
July 10, 2021 18:53
-
-
Save BlazerYoo/d47169c4e3625d161af593cbf50ffaaa to your computer and use it in GitHub Desktop.
Generating static files for web app running on ExpressJs and Bulma (main folder is public and follows https://bulma.io/documentation/customize/with-node-sass/)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIR="./build" | |
if [ -d "$DIR" ]; then | |
rm -r "$DIR" | |
fi | |
mkdir build | |
cd build | |
cp -r ../public/elements . | |
cp -r ../public/Icons . | |
cp -r ../public/Images . | |
cp -r ../public/js . | |
cp -r ../public/mybulma/sass . | |
cp -r ../public/mybulma/css . | |
cp ../public/index.html . | |
echo "Build done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment