Commit 5c800be1 authored by Amos Wenger's avatar Amos Wenger

Switch to module

parent 5c88b6a5
Pipeline #14164 failed with stage
in 27 seconds
module github.com/itchio/smaug
go 1.12
require (
github.com/itchio/ox v0.0.0-20190320095717-ec75be15423d
github.com/itchio/wharf v0.0.0-20181213155255-5c074d8f87a4
github.com/pkg/errors v0.8.1
github.com/stretchr/testify v1.3.0
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
)
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/itchio/ox v0.0.0-20190320095717-ec75be15423d h1:HaR21jbp35shw+e8YhElQUEA6rW3ZRFlbzY3QnxO4JI=
github.com/itchio/ox v0.0.0-20190320095717-ec75be15423d/go.mod h1:RL0BnbgbEihBjUuRmnM3ZnHFE/mU2l72fTaac9fSels=
github.com/itchio/wharf v0.0.0-20181213155255-5c074d8f87a4 h1:+lsGaAGakbMki2lTQWUNkGy91RMx17R58RH4GnqeRsU=
github.com/itchio/wharf v0.0.0-20181213155255-5c074d8f87a4/go.mod h1:+POTUNOKzhCiFy3BM0Qb7RHLTHazlOcypTnt7QbOeks=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
......@@ -54,7 +54,7 @@ func (pg *processGroup) Wait() error {
return errors.WithStack(err)
} else {
if err != nil {
pg.consumer.Infof("Could not get group of process %d: %s", err.Error())
pg.consumer.Infof("Could not get group of process %d: %s", pid, err.Error())
} else {
pg.consumer.Infof("Process %d had no group", pid)
}
......
......@@ -2,18 +2,8 @@
go version
export GOPATH=$PWD/gopath
rm -rf $GOPATH
export PATH="$PATH:$(go env GOPATH)/bin"
export PKG=github.com/itchio/smaug
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH/src/$PKG
rsync -a --exclude 'gopath' . $GOPATH/src/$PKG
go get -v -d -t $PKG/...
go test -v -cover -coverprofile=coverage.txt -race $PKG/...
go test -v -race -cover -coverprofile=coverage.txt ./...
curl -s https://codecov.io/bash | bash
Markdown is supported
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