Codebase list golang-github-knqyf263-go-cpe / e0c0040
use gomod (#4) * use gomod * fix travis * chore: bump up Go to 1.15 Co-authored-by: knqyf263 <knqyf263@gmail.com> sadayuki-matsuno authored 3 years ago GitHub committed 3 years ago
6 changed file(s) with 10 addition(s) and 76 deletion(s). Raw diff Collapse all Expand all
00 language: go
11 sudo: false
22 go:
3 - 1.8
4 - 1.9
3 - 1.15
54 before_install:
65 - go get github.com/mattn/goveralls
7 - go get github.com/golang/dep/...
86 script:
9 - $GOPATH/bin/dep ensure
107 - make test
118 - make cov
129 - $GOPATH/bin/goveralls -service=travis-ci -coverprofile=$TRAVIS_BUILD_DIR/coverage.out
00 .PHONY: \
11 all \
2 dep \
3 depup \
42 update \
53 build \
64 install \
1614 PKGS = $(shell go list ./... | grep -v /vendor/)
1715 COVERAGE_PKGS = $(shell go list ./... | grep -Ev "/testing|/examples")
1816
19 all: dep build test
17 all: build test
2018
21 dep:
22 go get -u github.com/golang/dep/...
23 dep ensure
24
25 depup:
26 go get -u github.com/golang/dep/...
27 dep ensure -u
28
29 build: main.go dep
19 build: main.go
3020 go build -o go-cpe $<
3121
3222
+0
-39
Gopkg.lock less more
0 # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
1
2
3 [[projects]]
4 name = "github.com/k0kubun/pp"
5 packages = ["."]
6 revision = "027a6d1765d673d337e687394dbe780dd64e2a1e"
7 version = "v2.3.0"
8
9 [[projects]]
10 name = "github.com/mattn/go-colorable"
11 packages = ["."]
12 revision = "167de6bfdfba052fa6b2d3664c8f5272e23c9072"
13 version = "v0.0.9"
14
15 [[projects]]
16 name = "github.com/mattn/go-isatty"
17 packages = ["."]
18 revision = "0360b2af4f38e8d38c7fce2a9f4e702702d73a39"
19 version = "v0.0.3"
20
21 [[projects]]
22 name = "github.com/pkg/errors"
23 packages = ["."]
24 revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
25 version = "v0.8.0"
26
27 [[projects]]
28 branch = "master"
29 name = "golang.org/x/sys"
30 packages = ["unix"]
31 revision = "3dbebcf8efb6a5011a60c2b4591c1022a759af8a"
32
33 [solve-meta]
34 analyzer-name = "dep"
35 analyzer-version = 1
36 inputs-digest = "af95f2750e5bcf8050296ccaf309a82b5ae59ddcaf8c9492849ebd4cba0483fa"
37 solver-name = "gps-cdcl"
38 solver-version = 1
+0
-21
Gopkg.toml less more
0 # Gopkg.toml example
1 #
2 # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
3 # for detailed Gopkg.toml documentation.
4 #
5 # required = ["github.com/user/thing/cmd/thing"]
6 # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
7 #
8 # [[constraint]]
9 # name = "github.com/user/project"
10 # version = "1.0.0"
11 #
12 # [[constraint]]
13 # name = "github.com/user/project2"
14 # branch = "dev"
15 # source = "github.com/myfork/project2"
16 #
17 # [[override]]
18 # name = "github.com/x/y"
19 # version = "2.4.0"
20
0 module github.com/knqyf263/go-cpe
1
2 go 1.15
3
4 require github.com/pkg/errors v0.8.1
0 github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
1 github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=