all repos — homestead @ 4fe285fc78fdadde99c439e3691670b009087655

Code for my website

domain/content/publisher/barkeep/justfile (view raw)

1
2
3
4
5
6
7
8
9
listen_address := env_var_or_default("SERVER_LISTEN_ADDRESS", "::1")
port := env_var_or_default("SERVER_PORT", "8081")
root := `git rev-parse --show-toplevel`

run:
	systemfd -s http::{{ listen_address }}:{{ port }} -- wgo run --root {{ root }} . --dev

build:
	go build .