Shellscripts for cross-compiling, packaging and uploading golang tool
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENCE
README.md
compile.sh
package.sh

README.md

Scripts for distributing golang project MIT License

This is my small scripts for distributing golang projects. They will:

  • Cross compile with mitchell/gox
  • Package binary as .zip file

Install

These scripts are supposed to be used in golang project directory.

$ cd path-to-your-project
$ git clone https://github.com/tcnksm/go-distribution-scripts scripts

Usage

Set version:

$ export VERSION="" 

Compile:

$ ./scripts/compile.sh

Package binary as .zip file:

$ ./scripts/package.sh

Author

tcnksm