diff options
author | Volpeon <git@volpeon.ink> | 2021-02-14 19:36:36 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-02-14 19:36:36 +0100 |
commit | 7735bd4eb24f0d53a93473570ff12d56a132b370 (patch) | |
tree | f4dfdeda762bc2a4de2c53e3be228dec111fc6e7 /scripts | |
parent | Adjusted rsync deployment (diff) | |
download | volpeon.ink-7735bd4eb24f0d53a93473570ff12d56a132b370.tar.gz volpeon.ink-7735bd4eb24f0d53a93473570ff12d56a132b370.tar.bz2 volpeon.ink-7735bd4eb24f0d53a93473570ff12d56a132b370.zip |
Move site.conf import to site.default.conf
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build_content.sh | 4 | ||||
-rwxr-xr-x | scripts/build_fonts.sh | 4 | ||||
-rwxr-xr-x | scripts/build_sass.sh | 4 | ||||
-rwxr-xr-x | scripts/deploy.sh | 4 | ||||
-rwxr-xr-x | scripts/watch_content.sh | 4 | ||||
-rwxr-xr-x | scripts/watch_filters.sh | 4 | ||||
-rwxr-xr-x | scripts/watch_metadata.sh | 4 | ||||
-rwxr-xr-x | scripts/watch_sass.sh | 4 | ||||
-rwxr-xr-x | scripts/watch_templates.sh | 4 |
9 files changed, 0 insertions, 36 deletions
diff --git a/scripts/build_content.sh b/scripts/build_content.sh index 41c2a4b..160f64d 100755 --- a/scripts/build_content.sh +++ b/scripts/build_content.sh | |||
@@ -2,10 +2,6 @@ | |||
2 | 2 | ||
3 | source "site.defaults.conf" | 3 | source "site.defaults.conf" |
4 | 4 | ||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | get_filters() { | 5 | get_filters() { |
10 | local filters_args="" | 6 | local filters_args="" |
11 | 7 | ||
diff --git a/scripts/build_fonts.sh b/scripts/build_fonts.sh index 9823fcf..0e9cd91 100755 --- a/scripts/build_fonts.sh +++ b/scripts/build_fonts.sh | |||
@@ -2,10 +2,6 @@ | |||
2 | 2 | ||
3 | source "site.defaults.conf" | 3 | source "site.defaults.conf" |
4 | 4 | ||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | find "${ASSETS_DIR}fonts" \ | 5 | find "${ASSETS_DIR}fonts" \ |
10 | -type f \ | 6 | -type f \ |
11 | -name "*.ttf" \ | 7 | -name "*.ttf" \ |
diff --git a/scripts/build_sass.sh b/scripts/build_sass.sh index 5bb24d4..2f3d169 100755 --- a/scripts/build_sass.sh +++ b/scripts/build_sass.sh | |||
@@ -2,9 +2,5 @@ | |||
2 | 2 | ||
3 | source "site.defaults.conf" | 3 | source "site.defaults.conf" |
4 | 4 | ||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | echo -e "\033[0;32m[COMPILE ]\033[0m ${ASSETS_DIR}css/style.scss -> ${OUTPUT_DIR}style.css" | 5 | echo -e "\033[0;32m[COMPILE ]\033[0m ${ASSETS_DIR}css/style.scss -> ${OUTPUT_DIR}style.css" |
10 | sassc ${ASSETS_DIR}css/style.scss | node_modules/.bin/csso > "${OUTPUT_DIR}style.css" | 6 | sassc ${ASSETS_DIR}css/style.scss | node_modules/.bin/csso > "${OUTPUT_DIR}style.css" |
diff --git a/scripts/deploy.sh b/scripts/deploy.sh index ef454bb..a810b74 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh | |||
@@ -2,9 +2,5 @@ | |||
2 | 2 | ||
3 | source "site.defaults.conf" | 3 | source "site.defaults.conf" |
4 | 4 | ||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | echo -e "\033[0;32m[DEPLOY ]\033[0m $DEPLOY_TARGET" | 5 | echo -e "\033[0;32m[DEPLOY ]\033[0m $DEPLOY_TARGET" |
10 | rsync --progress --stats -rvz --delete "$OUTPUT_DIR" "$DEPLOY_TARGET" | 6 | rsync --progress --stats -rvz --delete "$OUTPUT_DIR" "$DEPLOY_TARGET" |
diff --git a/scripts/watch_content.sh b/scripts/watch_content.sh index 66b726f..dfaa638 100755 --- a/scripts/watch_content.sh +++ b/scripts/watch_content.sh | |||
@@ -2,10 +2,6 @@ | |||
2 | 2 | ||
3 | source "site.defaults.conf" | 3 | source "site.defaults.conf" |
4 | 4 | ||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | inotifywait -qrme close_write,delete,move --format "%w%f" "${CONTENT_DIR%/}" \ | 5 | inotifywait -qrme close_write,delete,move --format "%w%f" "${CONTENT_DIR%/}" \ |
10 | | while read file | 6 | | while read file |
11 | do | 7 | do |
diff --git a/scripts/watch_filters.sh b/scripts/watch_filters.sh index 21fb686..5dd6ad5 100755 --- a/scripts/watch_filters.sh +++ b/scripts/watch_filters.sh | |||
@@ -2,10 +2,6 @@ | |||
2 | 2 | ||
3 | source "site.defaults.conf" | 3 | source "site.defaults.conf" |
4 | 4 | ||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | inotifywait -qrme close_write,delete,move --format "%w%f" "${FILTERS_DIR%/}" \ | 5 | inotifywait -qrme close_write,delete,move --format "%w%f" "${FILTERS_DIR%/}" \ |
10 | | while read file | 6 | | while read file |
11 | do | 7 | do |
diff --git a/scripts/watch_metadata.sh b/scripts/watch_metadata.sh index cc02ea7..2f6efde 100755 --- a/scripts/watch_metadata.sh +++ b/scripts/watch_metadata.sh | |||
@@ -2,10 +2,6 @@ | |||
2 | 2 | ||
3 | source "site.defaults.conf" | 3 | source "site.defaults.conf" |
4 | 4 | ||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | inotifywait -qrme close_write,delete,move --format "%w%f" "${METADATA_DIR%/}" \ | 5 | inotifywait -qrme close_write,delete,move --format "%w%f" "${METADATA_DIR%/}" \ |
10 | | while read file | 6 | | while read file |
11 | do | 7 | do |
diff --git a/scripts/watch_sass.sh b/scripts/watch_sass.sh index 11c210a..7345eb3 100755 --- a/scripts/watch_sass.sh +++ b/scripts/watch_sass.sh | |||
@@ -2,10 +2,6 @@ | |||
2 | 2 | ||
3 | source "site.defaults.conf" | 3 | source "site.defaults.conf" |
4 | 4 | ||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | inotifywait -qrme close_write,delete,move --format "%w%f" "${ASSETS_DIR}css" \ | 5 | inotifywait -qrme close_write,delete,move --format "%w%f" "${ASSETS_DIR}css" \ |
10 | | while read file | 6 | | while read file |
11 | do | 7 | do |
diff --git a/scripts/watch_templates.sh b/scripts/watch_templates.sh index b6149e7..70ae4c3 100755 --- a/scripts/watch_templates.sh +++ b/scripts/watch_templates.sh | |||
@@ -2,10 +2,6 @@ | |||
2 | 2 | ||
3 | source "site.defaults.conf" | 3 | source "site.defaults.conf" |
4 | 4 | ||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | inotifywait -qrme close_write,delete,move --format "%w%f" "${TEMPLATES_DIR%/}" \ | 5 | inotifywait -qrme close_write,delete,move --format "%w%f" "${TEMPLATES_DIR%/}" \ |
10 | | while read file | 6 | | while read file |
11 | do | 7 | do |