From c520d2cfcaafbc4223cde9a048a3672e81dcc147 Mon Sep 17 00:00:00 2001 From: Mahmud Ridwan Date: Sat, 5 Jun 2021 19:09:06 +0600 Subject: [PATCH] Add Makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..40c35ea --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +# Copyright 2021 Furqan Software Ltd. All rights reserved. + +.PHONY: build test clean loadcatd + +build: loadcatd + +test: + go test -mod=vendor -v ./... + +clean: + go clean -i ./... + +loadcatd: + GOOS=linux GOARCH=amd64 go build -mod=vendor -v -o loadcatd ./cmd/loadcatd