Browse Source

Add ZSTD_COMPRESSION_LEVEL variable to plugin.mk

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
bdcb40813e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      plugin.mk

+ 3
- 1
plugin.mk View File

@@ -57,6 +57,8 @@ include $(RACK_DIR)/compile.mk
clean:
rm -rfv build $(TARGET) dist

ZSTD_COMPRESSION_LEVEL ?= 19

dist: all
rm -rf dist
mkdir -p dist/$(SLUG)
@@ -77,7 +79,7 @@ else
cp -r --parents $(DISTRIBUTABLES) dist/$(SLUG)/
endif
@# Create ZIP package
cd dist && tar -c $(SLUG) | zstd -19 -o $(SLUG)-"$(VERSION)"-$(ARCH).vcvplugin
cd dist && tar -c $(SLUG) | zstd -$(ZSTD_COMPRESSION_LEVEL) -o $(SLUG)-"$(VERSION)"-$(ARCH).vcvplugin

install: dist
mkdir -p "$(RACK_USER_DIR)"/plugins-v2/


Loading…
Cancel
Save