change Mkefile to use docker source for linting
This commit is contained in:
5
Makefile
5
Makefile
@@ -51,7 +51,10 @@ statik:
|
|||||||
statik -f -p=frontend -src=./frontend/root
|
statik -f -p=frontend -src=./frontend/root
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
golangci-lint run
|
docker run --rm -it \
|
||||||
|
-w /src -v $(shell pwd):/src \
|
||||||
|
golangci/golangci-lint:v1.26 golangci-lint run \
|
||||||
|
-v -c .golangci.yml
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm ./invertergui
|
rm ./invertergui
|
||||||
|
|||||||
Reference in New Issue
Block a user