mirror of
https://github.com/airlabspl/uptimemonitor.git
synced 2025-08-14 20:29:16 +02:00
initial commit
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
.PHONY: watch
|
||||
watch:
|
||||
go tool air \
|
||||
-build.cmd="make build" \
|
||||
-build.include_ext="go,sql,css,html,js" \
|
||||
-build.full_bin="./tmp/main -secure=false" \
|
||||
-proxy.enabled="true" \
|
||||
-proxy.proxy_port="3001" \
|
||||
-proxy.app_port="3000"
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
go build -o ./tmp/main ./cmd/uptimemonitor
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go run gotest.tools/gotestsum@latest --format testdox -- ./test
|
Reference in New Issue
Block a user