mirror of
https://github.com/maputnik/editor.git
synced 2026-07-26 15:57:27 +00:00
Use go cross compile to build once with travis for all platforms
This commit is contained in:
@@ -6,7 +6,7 @@ EDITOR_VERSION ?= v1.5.0
|
||||
all: $(BINARY)
|
||||
|
||||
$(BINARY): $(SOURCES) bindata_assetfs.go
|
||||
go build -o ${BINARY}
|
||||
gox -osarch "windows/amd64 linux/amd64 darwin/amd64" -output "${BINARY}_{{.OS}}"
|
||||
|
||||
editor/create_folder:
|
||||
mkdir -p editor
|
||||
@@ -19,4 +19,4 @@ bindata_assetfs.go: editor/pull_release
|
||||
|
||||
.PHONY: 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 maputnik_*
|
||||
|
||||
Reference in New Issue
Block a user