Use folders for different maputnik executables

This commit is contained in:
Lukas Welte
2019-02-07 17:25:27 +01:00
parent 8052701021
commit 69519df82f
2 changed files with 6 additions and 8 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ EDITOR_VERSION ?= v1.5.0
all: $(BINARY)
$(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:
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 bin