diff options
author | Stefan Kreutz <mail@skreutz.com> | 2022-04-28 14:55:17 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2022-04-28 14:55:17 +0200 |
commit | 3ba902a37daa8f28552ca43665458f97d0634e26 (patch) | |
tree | 94a2270849d626d21422a624c0637d19eb09fe41 | |
parent | e699c3ec492b7c9128f4c89d71e6b9aec3c4fbda (diff) | |
download | blog-3ba902a37daa8f28552ca43665458f97d0634e26.tar |
Move shell scripts to dedicated directory
-rwxr-xr-x | script/check (renamed from check) | 0 | ||||
-rwxr-xr-x | script/deploy (renamed from deploy) | 3 | ||||
-rwxr-xr-x | script/watch | 3 | ||||
-rw-r--r-- | site.hs | 2 |
4 files changed, 6 insertions, 2 deletions
@@ -55,4 +55,5 @@ curl \ http://www.bing.com/ping?sitemap=https%3A%2F%2Fwww.skreutz.com/sitemap.xml \ || ( >&2 printf "error: failed to submit live sitemap to bing.com\\n" ) -/bin/sh "${root}/check" +# shellcheck source=./check +. "${root}/script/check" diff --git a/script/watch b/script/watch new file mode 100755 index 0000000..f12d1a7 --- /dev/null +++ b/script/watch @@ -0,0 +1,3 @@ +#! /bin/sh + +cabal v2-run exe:site -- watch @@ -93,7 +93,7 @@ main = hakyllWith hakyllConfig $ do hakyllConfig :: Configuration hakyllConfig = defaultConfiguration { previewPort = 8080 - , deployCommand = "./deploy" + , deployCommand = "./script/deploy" } postContext :: Context String |