mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-10 05:59:41 +00:00
15 lines
362 B
Bash
Executable file
15 lines
362 B
Bash
Executable file
source ./scripts/common.sh
|
|
#!/usr/bin/env sh
|
|
|
|
rm -rf "$STATIC_BUILD"
|
|
rm -rf "$OUTPUT_DIR"
|
|
|
|
cp -r "$STATIC_SRC/img" "$STATIC_BUILD/img"
|
|
cp -r "$STATIC_SRC/js" "$STATIC_BUILD/js"
|
|
cp -r "$STATIC_SRC/css" "$STATIC_BUILD/css"
|
|
cp -r "$STATIC_SRC/scss" "$STATIC_BUILD/scss"
|
|
|
|
hugo gen chromastyles --style=monokai > "$STATIC_BUILD/css/highlight.css"
|
|
|
|
hugo -vDEF --gc $@
|