Use go cross compile to build once with travis for all platforms

This commit is contained in:
Lukas Welte
2019-02-07 17:18:48 +01:00
parent 35c0150522
commit 8052701021
4 changed files with 9 additions and 48 deletions
+3 -3
View File
@@ -54,11 +54,10 @@ maputnik --watch --file basic-v9.json
### Build
Clone the repository **recursively** since the Maputnik editor is embedded
as submodule. Make sure you clone it into the correct directory `$GOPATH/src/github.com/maputnik`.
Clone the repository. Make sure you clone it into the correct directory `$GOPATH/src/github.com/maputnik`.
```
git clone --recursive git@github.com:maputnik/desktop.git
git clone git@github.com:maputnik/desktop.git
```
Install the 3rd party dependencies.
@@ -72,6 +71,7 @@ go get github.com/fsnotify/fsnotify
go get github.com/urfave/cli
go get github.com/elazarl/go-bindata-assetfs/...
go get github.com/jteeuwen/go-bindata/...
go get github.com/mitchellh/gox
```
Run `make` to build the app distribution bundle and create the `maputnik` binary