diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..192eed6 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +## Copyright 2020, Shulhan <m.shulhan@gmail.com>. All rights reserved. +## Use of this source code is governed by a BSD-style +## license that can be found in the LICENSE file. + +.PHONY: all build lint test + +LINT_OPTS = + +all: build lint test + +build: + go build ./... + +lint: + golangci-lint run --enable-all \ + --disable=dupl \ + --disable=funlen \ + --disable=godox \ + --disable=gomnd \ + --disable=wsl \ + --disable=gocognit \ + ./... + +test: + go test ./... |
