diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-09-09 21:58:21 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-09-09 21:58:21 -0400 |
| commit | 3c34d8854163880097bc6b326a6c79db7b5b3b73 (patch) | |
| tree | 906815e897b704157f3757f7417ec0fe206a5c8d /scripts | |
| parent | 543c4bee328a38eddc5ba5489bec49c3b2f6fb59 (diff) | |
| download | xesite-3c34d8854163880097bc6b326a6c79db7b5b3b73.tar.xz xesite-3c34d8854163880097bc6b326a6c79db7b5b3b73.zip | |
more work getting it working in Go
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rebuild.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh new file mode 100644 index 0000000..584be75 --- /dev/null +++ b/scripts/rebuild.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env + +inotifywait -m blog/ -m talks/ -m gallery/ -e create -e moved_to | + while read path action file; do + echo "The file '$file' appeared in directory '$path' via '$action'" + go generate -v ./... + done
\ No newline at end of file |
