mirror of
https://github.com/maputnik/editor.git
synced 2026-07-03 12:37:27 +00:00
Merge pull request #14 from pathmapper/makefile_editor
Update for use in the editor ci workflow
This commit is contained in:
@@ -23,7 +23,8 @@ editor/create_folder: dependencies
|
|||||||
mkdir -p editor
|
mkdir -p editor
|
||||||
|
|
||||||
editor/pull_release: editor/create_folder
|
editor/pull_release: editor/create_folder
|
||||||
cd editor && rm -rf public && curl -L https://github.com/maputnik/editor/releases/download/$(EDITOR_VERSION)/public.zip --output public.zip && unzip public.zip && rm public.zip
|
# if the directory /home/runner/work/editor/editor/build/build exists, we assume that we are are running the makefile within the editor ci workflow
|
||||||
|
test -d /home/runner/work/editor/editor/build/build && echo "exists" && cd editor && cp -R /home/runner/work/editor/editor/build/build public/ || (echo "does not exist" && cd editor && rm -rf public && curl -L https://github.com/maputnik/editor/releases/download/$(EDITOR_VERSION)/public.zip --output public.zip && unzip public.zip && rm public.zip)
|
||||||
|
|
||||||
bindata_assetfs.go: editor/pull_release
|
bindata_assetfs.go: editor/pull_release
|
||||||
go-bindata-assetfs --prefix "editor/" editor/public/...
|
go-bindata-assetfs --prefix "editor/" editor/public/...
|
||||||
|
|||||||
Reference in New Issue
Block a user