1
0
mirror of https://github.com/mgechev/revive.git synced 2025-10-30 23:37:49 +02:00

Add makefile

This commit is contained in:
mgechev
2018-05-26 16:36:23 -07:00
parent 63f4e77f81
commit aba0391c89
4 changed files with 19 additions and 14 deletions

View File

@@ -4,6 +4,6 @@ go:
- "1.10.x"
- master
script:
- go build
- go test ./test/...
install: make install
script: make build && make test.all

11
Gopkg.lock generated
View File

@@ -33,12 +33,9 @@
[[projects]]
branch = "master"
name = "github.com/mattn/go-zglob"
packages = [
".",
"fastwalk"
]
revision = "4959821b481786922ac53e7ef25c61ae19fb7c36"
name = "github.com/mgechev/dots"
packages = ["."]
revision = "f7959a15f0294a13590e9706f7f87fb2a6048ba4"
[[projects]]
branch = "master"
@@ -71,6 +68,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "c1a4276ae28575f764b11ca61ed7d86ce972bc09fbc476dd15ae918166258771"
inputs-digest = "55ca94323f5133e6922ce74ad093146191929c198c0aa732c84e7ee6070af701"
solver-name = "gps-cdcl"
solver-version = 1

View File

@@ -28,10 +28,6 @@
name = "github.com/fatih/color"
version = "1.5.0"
[[constraint]]
branch = "master"
name = "github.com/mattn/go-zglob"
[[constraint]]
branch = "master"
name = "github.com/olekukonko/tablewriter"

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
deps.devtools:
@go get github.com/golang/dep/cmd/dep
install: deps.devtools
@dep ensure -v
build:
@go build
test.all:
@go test -v ./test/...