Add GOXC configuration to build binaries for multiple architectures (fix #2)

This commit is contained in:
Manfred Touron 2015-09-27 22:27:37 +02:00
parent 2e3fd88604
commit b678d2e8ea
No known key found for this signature in database
GPG Key ID: 0DCB9CE0CABAE1B5
3 changed files with 15 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
/dist
# Compiled Object files, Static and Dynamic libs (Shared Objects) # Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o *.o
*.a *.a

12
.goxc.json Normal file
View File

@ -0,0 +1,12 @@
{
"AppName": "gotty-client",
"ArtifactsDest": "dist",
"OutPath": "{{.Dest}}{{.PS}}{{.Version}}{{.PS}}{{.ExeName}}_{{.Version}}_{{.Os}}_{{.Arch}}{{.Ext}}",
"TasksExclude": [
"go-test",
"go-vet"
],
"MainDirsExclude": "vendor,Godeps,testdata",
"PackageVersion": "1.0.1",
"ConfigVersion": "0.9"
}

View File

@ -79,6 +79,7 @@ Mon Aug 24 18:54:38 CEST 2015
* Add 'homebrew support' ([#1](https://github.com/moul/gotty-client/issues/1)) * Add 'homebrew support' ([#1](https://github.com/moul/gotty-client/issues/1))
* Add Changelog ([#5](https://github.com/moul/gotty-client/issues/5)) * Add Changelog ([#5](https://github.com/moul/gotty-client/issues/5))
* Add GOXC configuration to build binaries for multiple architectures ([#2](https://github.com/moul/gotty-client/issues/2))
[full commits list](https://github.com/moul/gotty-client/compare/v1.0.1...master) [full commits list](https://github.com/moul/gotty-client/compare/v1.0.1...master)