aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-18 00:37:47 -0700
committerFuwn <[email protected]>2022-03-18 00:37:47 -0700
commitd77e9b6477ec2455546d9de672d6eae62f41cbf5 (patch)
tree1f8c280c12c6b363dd3ee68464078a1347e7f9ba
parentrefactor: update organization name (diff)
downloadcapybara-d77e9b6477ec2455546d9de672d6eae62f41cbf5.tar.xz
capybara-d77e9b6477ec2455546d9de672d6eae62f41cbf5.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