mirror of
https://github.com/maputnik/editor.git
synced 2026-08-26 06:57:26 +00:00
Update Travis go get
This commit is contained in:
+5
-2
@@ -1,5 +1,8 @@
|
|||||||
language: go
|
language: go
|
||||||
install:
|
install:
|
||||||
- go get
|
- go get github.com/gorilla/handlers
|
||||||
|
- go get github.com/gorilla/mux
|
||||||
|
- go get github.com/gorilla/websocket
|
||||||
|
- go get github.com/urfave/cli
|
||||||
test:
|
test:
|
||||||
- make
|
- make
|
||||||
|
|||||||
@@ -31,13 +31,22 @@ maputnik --watch --file basic-v9.json
|
|||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
Clone the repository recursively since the Maputnik editor is embedded
|
Clone the repository **recursively** since the Maputnik editor is embedded
|
||||||
as submodule.
|
as submodule. 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 --recursive git@github.com:maputnik/desktop.git
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Install the 3rd party dependencies.
|
||||||
|
|
||||||
|
```
|
||||||
|
go get github.com/gorilla/handlers
|
||||||
|
go get github.com/gorilla/mux
|
||||||
|
go get github.com/gorilla/websocket
|
||||||
|
go get github.com/urfave/cli
|
||||||
|
```
|
||||||
|
|
||||||
Run `make` to build the app distribution bundle and create the `maputnik` binary
|
Run `make` to build the app distribution bundle and create the `maputnik` binary
|
||||||
embedding the editor.
|
embedding the editor.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user