chore(makefile): add lint command

This commit is contained in:
Piotr Grabowski 2023-02-04 18:44:28 +01:00
parent 27e12057bc
commit f81c9e269d
2 changed files with 10 additions and 0 deletions

6
.golangci.yml Normal file
View file

@ -0,0 +1,6 @@
---
run:
skip-dirs:
- ".*go/pkg.*"
- ".*go/src.*"

View file

@ -29,3 +29,7 @@ dist: build
zip -r ../Gomics-v_$(VERSION).zip gomicsv zip -r ../Gomics-v_$(VERSION).zip gomicsv
rm -rf gomicsv rm -rf gomicsv
.PHONY: dist .PHONY: dist
lint:
golangci-lint run
.PHONY: lint