From c0036498bba6cbe6e9a5815ca7687cc57129376e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 5 Jun 2024 12:16:36 +0200 Subject: replace unreliable dev server with modd --- justfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'justfile') 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 -- cgit 1.4.1