diff options
author | Alan Pearce | 2024-06-05 12:16:36 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-05 12:16:36 +0200 |
commit | c0036498bba6cbe6e9a5815ca7687cc57129376e (patch) | |
tree | 47c1a8135a672f280417c36a798597a23b99a127 /justfile | |
parent | 779bfc1e56eec9f70bba21aff3ea490856d90876 (diff) | |
download | website-c0036498bba6cbe6e9a5815ca7687cc57129376e.tar.lz website-c0036498bba6cbe6e9a5815ca7687cc57129376e.tar.zst website-c0036498bba6cbe6e9a5815ca7687cc57129376e.zip |
replace unreliable dev server with modd
Diffstat (limited to 'justfile')
-rwxr-xr-x | justfile | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/justfile b/justfile index dcd242a..aec4a36 100755 --- a/justfile +++ b/justfile @@ -40,15 +40,7 @@ nix-build what: watch-server: (watch-flake "watchexec -r -i content -i templates go run ./cmd/server") dev: - #!/usr/bin/env bash - set -euxo pipefail - tmp="$(mktemp -d -t website-XXXXXX)" || exit 1 - echo using temp directory $tmp - trap "{ echo cleaning up $tmp; rm -rf \"$tmp\"; }" EXIT - go build -o $tmp ./cmd/dev ./cmd/build ./cmd/server - "${tmp}/dev" --temp-dir "${tmp}" - -watch-dev: (watch-flake "watchexec -r -e go just dev") + modd docker-stream system=(arch() + "-linux"): @nix build --print-out-paths .#docker-stream-{{ system }} | sh |