mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-10 05:59:41 +00:00
Fix globbing expansion for static/src/scss/*
This commit is contained in:
parent
753f8f0e1a
commit
3610b7a8d9
|
@ -6,19 +6,19 @@ rm -rf "$OUTPUT_DIR"
|
||||||
|
|
||||||
mkdir -p "$STATIC_BUILD"
|
mkdir -p "$STATIC_BUILD"
|
||||||
|
|
||||||
mkdir -p "$STATIC_SRC/img"
|
mkdir -p "$STATIC_BUILD/img"
|
||||||
cp -r "$STATIC_SRC/img/*" "$STATIC_BUILD/img"
|
#cp -r "$STATIC_SRC/img/*" "$STATIC_BUILD/img"
|
||||||
|
|
||||||
mkdir -p "$STATIC_SRC/js"
|
mkdir -p "$STATIC_BUILD/js"
|
||||||
cp -r "$STATIC_SRC/js/*" "$STATIC_BUILD/js"
|
#cp -r "$STATIC_SRC/js/*" "$STATIC_BUILD/js"
|
||||||
|
|
||||||
mkdir -p "$STATIC_SRC/css"
|
mkdir -p "$STATIC_BUILD/css"
|
||||||
cp -r "$STATIC_SRC/css/*" "$STATIC_BUILD/css"
|
#cp -r "$STATIC_SRC/css/*" "$STATIC_BUILD/css"
|
||||||
cp -r "$BASEDIR/node_modules/@fortawesome/fontawesome-free/css/all.min.css" "$STATIC_BUILD/css/font-awesome.css"
|
cp -r "$BASEDIR/node_modules/@fortawesome/fontawesome-free/css/all.min.css" "$STATIC_BUILD/css/font-awesome.css"
|
||||||
hugo gen chromastyles --style=monokai > "$STATIC_BUILD/css/highlight.css"
|
hugo gen chromastyles --style=monokai > "$STATIC_BUILD/css/highlight.css"
|
||||||
|
|
||||||
mkdir -p "$STATIC_SRC/scss"
|
mkdir -p "$STATIC_BUILD/scss"
|
||||||
cp -r "$STATIC_SRC/scss/*" "$STATIC_BUILD/scss"
|
cp -r "$STATIC_SRC/scss"/* "$STATIC_BUILD/scss"
|
||||||
|
|
||||||
|
|
||||||
hugo -vDEF --gc $@
|
hugo -vDEF --gc $@
|
||||||
|
|
Loading…
Reference in a new issue