https://github.com/cucumber/gherkin-go
[READ-ONLY] Gherkin for Go - subtree of https://github.com/cucumber/gherkin -- moved to https://github.com/cucumber/gherkin
https://github.com/cucumber/gherkin-go
Last synced: 3 months ago
JSON representation
[READ-ONLY] Gherkin for Go - subtree of https://github.com/cucumber/gherkin -- moved to https://github.com/cucumber/gherkin
- Host: GitHub
- URL: https://github.com/cucumber/gherkin-go
- Owner: cucumber
- License: mit
- Archived: true
- Created: 2015-04-06T13:39:49.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2022-11-09T15:58:34.000Z (over 2 years ago)
- Last Synced: 2024-10-30T00:55:12.827Z (6 months ago)
- Language: Go
- Homepage:
- Size: 1.62 MB
- Stars: 84
- Watchers: 116
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gherkin for Go
[](http://godoc.org/github.com/cucumber/gherkin/go)
Gherkin parser/compiler for Go. Please see [Gherkin](https://github.com/cucumber/gherkin) for details.
## Building
You need Go installed (obviously). You also need to make sure your `PATH`
points to where Go installs packages:```bash
# 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](https://upx.github.io/) 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 build copies the successfully compressed binaries back to `./dist/`.