aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-18 01:18:19 -0700
committerFuwn <[email protected]>2022-03-18 01:18:19 -0700
commit87dff255c65ee47cd179f85e6b4f99808726c3b0 (patch)
tree86c9395ec6a20d2530c6c39b202b41a36fd4e9a9 /Makefile
parentrefactor(make): module variable (diff)
downloadcapybara-87dff255c65ee47cd179f85e6b4f99808726c3b0.tar.xz
capybara-87dff255c65ee47cd179f85e6b4f99808726c3b0.zip
chore(make): makefile cleanup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4fbce3e..8f4b22e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,16 @@
MODULE := github.com/gemrest/capybara
+DEFAULT_ROOT := gemini://fuwn.me
+
+.PHONY: fmt run build docker
fmt:
go fmt $(MODULE)...
run: fmt
- go run $(MODULE)
+ go run $(MODULE) $(DEFAULT_ROOT)
build: fmt
- go build
+ go build $(MODULE)
docker: fmt
docker build -t fuwn/capybara:latest .