Gherkin parser/compiler for Go
Go Gherkin Makefile JSONiq
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
berp
cli
dist
gherkin-generate-tokens
testdata
.gitignore go: More consistent Makefiles - default.mk Jul 9, 2018
.rsync
.subrepo
.travis.yml
LICENSE
Makefile
README.md
astbuilder.go
bench_test.go
default.mk
dialect.go
dialects_builtin.go
dialects_builtin.go.jq
example_test.go
gherkin-languages.json
gherkin.berp
gherkin.go
matcher.go
messages.go
messages_test.go
parser.go
parser.go.razor
pickles.go
remove_empty.jq

README.md

Build Status

Gherkin parser/compiler for Go. Please see Gherkin for details.

Building

You need Go installed (obviously). You also need to make sure your PATH points to where Go installs packages:

# Add go bin to path
export PATH=$(go env GOPATH)/bin:${PATH}

Now build it:

make .dist

You should have cross-compiled binaries in ./dist/.

Compress binaries

You need upx installed.

make .dist
make .dist-compressed

Your ./dist_compressed/ directory should now have compressed binaries. Compression fails for some binaries, so you likely won't have a full set.

The CI build copies the successfully compressed binaries back to ./dist/ before uploading them to S3.