Browse Source

Copy DISTRIBUTABLES relative to plugin directory.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
95ea82c2ab
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      plugin.mk

+ 5
- 1
plugin.mk View File

@@ -62,7 +62,11 @@ else
$(STRIP) -s dist/$(SLUG)/$(TARGET) $(STRIP) -s dist/$(SLUG)/$(TARGET)
endif endif
@# Copy distributables @# Copy distributables
cp -R $(DISTRIBUTABLES) dist/$(SLUG)/
ifdef ARCH_MAC
rsync -rR $(DISTRIBUTABLES) dist/$(SLUG)/
else
cp -R --parents $(DISTRIBUTABLES) dist/$(SLUG)/
endif
@# Create ZIP package @# Create ZIP package
cd dist && zip -q -9 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG) cd dist && zip -q -9 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG)




Loading…
Cancel
Save