From b678d2e8ea86aca6e78e934a10d435b59c30940a Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Sun, 27 Sep 2015 22:27:37 +0200 Subject: [PATCH] Add GOXC configuration to build binaries for multiple architectures (fix #2) --- .gitignore | 2 ++ .goxc.json | 12 ++++++++++++ README.md | 1 + 3 files changed, 15 insertions(+) create mode 100644 .goxc.json diff --git a/.gitignore b/.gitignore index daf913b..f707010 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +/dist + # Compiled Object files, Static and Dynamic libs (Shared Objects) *.o *.a diff --git a/.goxc.json b/.goxc.json new file mode 100644 index 0000000..78bc6c4 --- /dev/null +++ b/.goxc.json @@ -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" +} diff --git a/README.md b/README.md index 728566b..6b05e51 100644 --- a/README.md +++ b/README.md @@ -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 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)