Commit b6f61d7c authored by Loïck Bonniot's avatar Loïck Bonniot
Browse files

[CI] Update Linter

parent 29ddd64d
Pipeline #438 passed with stage
......@@ -67,7 +67,7 @@ Code lint:
- "ln -s $(pwd) $GOPATH/src/dfss"
- "go get"
- "./build/"
- "cd $GOPATH/src/dfss && make install"
- "cd $GOPATH/src/dfss && make install_all"
- "gometalinter --install"
- "gometalinter -t --deadline=600s -j1 --skip=api --skip=fixtures --skip=gui --skip=dfssd --disable=aligncheck ./..."
......@@ -11,6 +11,15 @@ install: nocache
go install ./dfssp
go install ./dfsst
# install_all installs everything, including libraries. It's mandatory for linter, but should be improved in the future.
install_all: install
git stash
rm -rf gui
rm -rf dfssd/gui
rm -f dfssd/main.go
go install ./...
git reset --hard
release: clean build_all package
# prepare_gui builds a new container from the goqt image, adding DFSS dependencies for faster builds.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment