watchyourlan/backend/Makefile
2025-03-15 18:38:41 +07:00

19 lines
No EOL
288 B
Makefile

mod:
rm go.mod || true && \
rm go.sum || true && \
go mod init github.com/aceberg/WatchYourLAN && \
go mod tidy
run:
cd cmd/WatchYourLAN/ && \
sudo \
go run . #-c /data/config #-n http://192.168.2.3:8850
fmt:
go fmt ./...
lint:
golangci-lint run
golint ./...
check: fmt lint