summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2022-05-22 13:27:54 -0400
committersiddharth <s@ricketyspace.net>2022-05-22 13:27:54 -0400
commitd5b2de8b9ed0cf61a8ccf74d44d296b9cb2557aa (patch)
treec0cdef49797e904e5f267644940d9d0e620ab79b /Makefile
parenta06efa1b6619ee4f71728acc11c6f05091e49d77 (diff)
add Dockerfile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 740b9fd..edbfb2d 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
MOD=ricketyspace.net/peach
peach: fmt
- go build
+ go build ${BUILD_OPTS}
fmt:
go fmt ${MOD} ${MOD}/client ${MOD}/nws
@@ -12,3 +12,11 @@ fmt:
test:
go test ${MOD}/client ${MOD}/nws ${ARGS}
.PHONY: test
+
+clean:
+ go clean
+.PHONY: clean
+
+image:
+ ./bin/image
+.PHONY: image