summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile13
-rw-r--r--bin/.gitignore2
2 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..332ece6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+test:
+ go test ./...
+
+vet:
+ go vet ./...
+
+check: test vet
+
+build:
+ go build -o bin/collector_ouphe main.go
+
+run:
+ go run main.go
diff --git a/bin/.gitignore b/bin/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/bin/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore