merge
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
commit
2c06e95577
13
.ci/run_linters.sh
Executable file
13
.ci/run_linters.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd $(dirname $0)/..
|
||||||
|
|
||||||
|
if [ "$USE_DOCKER" != "" ]; then
|
||||||
|
$(command -v winpty) docker run --rm -itv "/$(pwd)://src" -w "//src" filebrowser/dev sh -c "\
|
||||||
|
go get -v ./... && \
|
||||||
|
golangci-lint run -v"
|
||||||
|
else
|
||||||
|
golangci-lint run -v
|
||||||
|
fi
|
||||||
Loading…
Reference in New Issue
Block a user