Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
cleanup readme, move docker-test command to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Jun 20, 2018
1 parent 4a04fd0 commit e00c618
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 3 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ coverage-report:
dev-osx:
docker run -v $(CURDIR):/go/src/github.com/sloppyio/sloppose --workdir /go/src/github.com/sloppyio/sloppose -e GOOS=darwin golang:$(GOVERSION) make build-dev

test-in-docker:
docker run -v $(CURDIR):/go/src/github.com/sloppyio/sloppose --workdir /go/src/github.com/sloppyio/sloppose -e CGO_ENABLED=1 golang:$(GOVERSION) make test

build-dev:
go build -ldflags "-X ${VERSION_NAMESPACE}.VersionName=`git describe --exact-match --abbrev=0`" -o ./$(APPNAME) $(SRCPATH)

Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,4 @@ Create a development build within the Go environment: `make build-dev`

Create an osx build with docker: `make dev-osx`

or:

`docker run -v $PWD:/go/src/github.com/sloppyio/sloppose --workdir /go/src/github.com/sloppyio/sloppose -e GOOS=darwin golang:1.9.4 make build-dev`

To run tests with Docker:

`docker run -v $PWD:/go/src/github.com/sloppyio/sloppose --workdir /go/src/github.com/sloppyio/sloppose -e CGO_ENABLED=1 golang:1.9.4 make test`
To run tests with Docker: `test-in-docker`

0 comments on commit e00c618

Please sign in to comment.