Base de client ReachRS fonctionnelle

This commit is contained in:
2018-09-18 18:07:40 +02:00
parent 267017bdc1
commit cd27332c4f
12 changed files with 1188 additions and 6 deletions

View File

@ -2,21 +2,25 @@ export GO111MODULE := on
build: bin/server
bin/server: vendor
CGO_ENABLED=0 go build -v -o ./bin/server ./cmd/server
bin/server:
CGO_ENABLED=0 go build -mod=vendor -v -o ./bin/server ./cmd/server
watch:
modd
test:
go test -v ./...
test: tidy
GO111MODULE=off go clean -testcache
go test -mod=vendor -v ./...
lint:
PATH=$(PATH):./bin/gometalinter gometalinter -e '.*/pkg/mod' --vendor ./...
vendor:
tidy:
go mod tidy
vendor: tidy
go mod vendor
install-devtools: vendor
# Install modd
GO111MODULE=off go get -u github.com/cortesi/modd/cmd/modd
@ -27,4 +31,4 @@ clean:
rm -rf ./bin
go clean -i -x -r -modcache
.PHONY: test clean generate vendor install-devtools lint watch
.PHONY: test clean generate vendor install-devtools lint watch tidy