claptrap

command module
v0.0.0-...-d92abce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

Get the code

go get github.com/alexshemesh/claptrap

Go to folder

cd $GOPATH/src/github.com/alexshemesh/claptrap

Dependencies GLIDE

We use glide https://github.com/Masterminds/glide to manage dependencies. So download and install it.

After that:

glide up

Test

go test --cover $(go list ./... | grep -v '/vendor/')

Build

mkdir build
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X main.Version=1.0.0" -o build/claptrap-linux-amd64
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w -X main.Version=1.0.0" -o build/claptrap-darwin-amd64
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags="-s -w -X main.Version=1.0.0" -o build/claptrap-windows-amd64

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL