Added a couple of Makefiles to simply build and deploy

This commit is contained in:
2022-03-05 16:22:48 +01:00
parent e78e7427ac
commit 81da287b96
13 changed files with 192 additions and 20 deletions
+20
View File
@@ -0,0 +1,20 @@
.PHONY: all
all: setup build
.PHONY: setup
setup:
mkdir -p bin/
.PHONY: build
build:
go build -o bin/posti-dm .
.PHONY: run
run:
go run .
.PHONY: watch
watch:
find -name '*.go' | entr -r -s 'go run .'