Browse Source

Add default make dist to plugin.mk

pull/574/merge
Andrew Belt 6 years ago
parent
commit
64cfeb77d5
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      plugin.mk

+ 8
- 0
plugin.mk View File

@@ -28,3 +28,11 @@ include ../../compile.mk

clean:
rm -rfv build $(TARGET) dist

dist: all
rm -rf dist
mkdir -p dist/$(SLUG)
cp -R $(DISTRIBUTABLES) dist/$(SLUG)/
cd dist && zip -5 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG)

.PHONY: clean dist

Loading…
Cancel
Save