https://github.com/darealfreak/xgo-helper
supplementary helper for xgo fixing local/private repository builds and fixes the local builds on windows
https://github.com/darealfreak/xgo-helper
Last synced: about 1 year ago
JSON representation
supplementary helper for xgo fixing local/private repository builds and fixes the local builds on windows
- Host: GitHub
- URL: https://github.com/darealfreak/xgo-helper
- Owner: DaRealFreak
- Created: 2019-08-07T22:21:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-15T09:45:19.000Z (almost 7 years ago)
- Last Synced: 2025-02-05T11:44:44.512Z (over 1 year ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## xgo-helper
Wrapper for docker image cross for compiling applications local projects and fixing the local build on windows.
This project was primarily written for a small build pipeline for a CGO dependency dependant project where goreleaser
is not viable, so the possibility for you requiring this helper is probably quite unlikely.
### Usage
```
Usage:
xgo_helper [flags]
Flags:
--dest string Destination folder to put binaries in (empty = current)
-h, --help help for app
--image string Docker Image used (default "diebaumchen/xgo")
--module string Module name for local compilation (empty = external git repository)
--out string Prefix to use for output naming
--pkg string Package of main.go
--source string Repository source (branch/tag/commit hash)
--targets string Build targets
```
The helper will send external repository requests to the original xgo module, so you can use all additional xgo arguments as well.
Only the arguments above are implemented for local builds though.