diff --git a/extension/Makefile b/extension/Makefile new file mode 100644 index 0000000..34e533a --- /dev/null +++ b/extension/Makefile @@ -0,0 +1,15 @@ +# Unshortener Extension Makefile +SRC_DIR := src +BUILD_DIR := build +EXTENSION_NAME := unshortener +VERSION := $(shell jq -r '.version' $(SRC_DIR)/manifest.json) +ZIP_FILE := $(EXTENSION_NAME)-$(VERSION).zip + +all: zip +zip: + @mkdir -p $(BUILD_DIR) + zip -r $(BUILD_DIR)/$(ZIP_FILE) $(SRC_DIR) -x "*.DS_Store" +clean: + rm -rf $(BUILD_DIR) + +.PHONY: all zip clean \ No newline at end of file diff --git a/extension/build/unshortener-0.1.zip b/extension/build/unshortener-0.1.zip new file mode 100644 index 0000000..df56665 Binary files /dev/null and b/extension/build/unshortener-0.1.zip differ