aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-18 00:37:47 +0000
committerFuwn <[email protected]>2022-03-18 00:37:47 +0000
commitc17c87ecfa38e2805cd7424a4723efa2d89eaba4 (patch)
tree1f8c280c12c6b363dd3ee68464078a1347e7f9ba
parentrefactor: update organization name (diff)
downloadcapybara-c17c87ecfa38e2805cd7424a4723efa2d89eaba4.tar.xz
capybara-c17c87ecfa38e2805cd7424a4723efa2d89eaba4.zip
refactor(make): module variable
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d358933..4fbce3e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
+MODULE := github.com/gemrest/capybara
+
fmt:
- go fmt github.com/gemrest/capybara...
+ go fmt $(MODULE)...
run: fmt
- go run github.com/gemrest/capybara
+ go run $(MODULE)
build: fmt
go build