mirror of
https://github.com/maputnik/editor.git
synced 2026-08-27 07:27:33 +00:00
Use folders for different maputnik executables
This commit is contained in:
+4
-6
@@ -7,9 +7,7 @@ go:
|
|||||||
addons:
|
addons:
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- maputnik_linux
|
- bin
|
||||||
- maputnik_darwin
|
|
||||||
- maputnik_windows.exe
|
|
||||||
install:
|
install:
|
||||||
- go get -u golang.org/x/sys/...
|
- go get -u golang.org/x/sys/...
|
||||||
- go get github.com/fsnotify/fsnotify
|
- go get github.com/fsnotify/fsnotify
|
||||||
@@ -23,6 +21,6 @@ install:
|
|||||||
- wget https://raw.githubusercontent.com/openmaptiles/klokantech-basic-gl-style/master/style.json
|
- wget https://raw.githubusercontent.com/openmaptiles/klokantech-basic-gl-style/master/style.json
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
- ./maputnik --help
|
- ./bin/linux/maputnik --help
|
||||||
- ./maputnik --version
|
- ./bin/linux/maputnik --version
|
||||||
- ./maputnik --watch --file style.json & sleep 5; kill $!
|
- ./bin/linux/maputnik --watch --file style.json & sleep 5; kill $!
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ EDITOR_VERSION ?= v1.5.0
|
|||||||
all: $(BINARY)
|
all: $(BINARY)
|
||||||
|
|
||||||
$(BINARY): $(SOURCES) bindata_assetfs.go
|
$(BINARY): $(SOURCES) bindata_assetfs.go
|
||||||
gox -osarch "windows/amd64 linux/amd64 darwin/amd64" -output "${BINARY}_{{.OS}}"
|
gox -osarch "windows/amd64 linux/amd64 darwin/amd64" -output "bin/{{.OS}}/${BINARY}"
|
||||||
|
|
||||||
editor/create_folder:
|
editor/create_folder:
|
||||||
mkdir -p editor
|
mkdir -p editor
|
||||||
@@ -19,4 +19,4 @@ bindata_assetfs.go: editor/pull_release
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf editor/public && rm -f bindata.go && rm -f bindata_assetfs.go && rm -f maputnik_*
|
rm -rf editor/public && rm -f bindata.go && rm -f bindata_assetfs.go && rm -f bin
|
||||||
|
|||||||
Reference in New Issue
Block a user