herald.go/dev.sh

7 lines
258 B
Bash
Raw Normal View History

2021-04-21 22:19:05 +02:00
#!/bin/bash
hash reflex 2>/dev/null || go get github.com/cespare/reflex
hash reflex 2>/dev/null || { echo >&2 'Make sure '"$(go env GOPATH)"'/bin is in your $PATH'; exit 1; }
2021-10-01 19:54:03 +02:00
reflex --decoration=none --start-service=true -- sh -c "go run . serve --debug"