aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-07-28 08:24:01 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-07-28 08:24:01 +0100
commit542933d61acaa1e3dd6ac60984edcca090e5d1ba (patch)
treea5d4884b6adadf30a496872438624f6f1718f7ab /Makefile
parent75b8d72dd6c17582a77575e4a3e4a7abb6ffcce7 (diff)
enhanced the Makefile
Diffstat (limited to '')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 058cc7b..6caba50 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,17 @@
debug-datamaps:
dlv test ./pkg/datamaps/ --wd ./pkg/datamaps/
+
+dummy-import:
+ ./datamaps import --returnname "Hunkers" --datamapname "Tonk 1" --xlsxpath pkg/datamaps/testdata/
+
+dummy-datamap-import:
+ ./datamaps datamap --datamapname "Tonk 1" --import pkg/datamaps/testdata/short/datamap_matches_test_template.csv
+
+build:
+ go build -o datamaps ./cmd/datamaps/main.go
+
+test-all:
+ go test ./...
+
+clean-config:
+ rm -r ~/.config/datamaps/