1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-06 08:39:09 +02:00

add go111module (#274)

* add go111module

* upgrade ci

* enable GO111MODULE
* show diff

* update modules (add test dependencies)

* increase supported golang version

* try cache

* delete cache

* upgrade install step

- there is not dep now
- move script from before_install -> install. delete before_install
- delete install from Makefile
This commit is contained in:
3timeslazy
2019-03-28 00:24:49 +03:00
committed by Tim Voronov
parent 37fb385ba4
commit 752ee02cd1
7 changed files with 94 additions and 415 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: build compile install test e2e doc fmt lint vet release
.PHONY: build compile test e2e doc fmt lint vet release
export GOPATH
@@ -11,16 +11,13 @@ DIR_E2E = ./e2e
default: build
build: install vet generate test compile
build: vet generate test compile
compile:
go build -v -o ${DIR_BIN}/ferret \
-ldflags "-X main.version=${VERSION}" \
./main.go
install:
dep ensure
test:
go test -race -v ${DIR_PKG}/...