* Initial prototype of the V3 manifest extension * Make sure the content script is only injected once * Implement addNote button * More separation work for tasks, implement archive and update note * Add back missing functionality, add guide to install Extensions * Revert v2 changes --------- Co-authored-by: Thomas Rogers <Podginator@gmail.com>
27 lines
771 B
Makefile
27 lines
771 B
Makefile
all: firefox chrome edge
|
|
|
|
build: *
|
|
rm -rf extension
|
|
yarn build
|
|
|
|
firefox:
|
|
echo "building firefox package"
|
|
rm -rf extension
|
|
yarn build
|
|
FIREFOX_PKG_NAME="firefox-$(shell cat extension/manifest.json| jq -j .version).zip" ; \
|
|
FIREFOX_SRC_NAME="firefox-$(shell cat extension/manifest.json| jq -j .version)-src.zip" ; \
|
|
cd extension; zip -r ../$$FIREFOX_PKG_NAME *; cd ..;\
|
|
zip -r $$FIREFOX_SRC_NAME src/* Makefile yarn.lock package.json; \
|
|
echo "done"
|
|
|
|
chrome: build
|
|
echo "building chrome package"
|
|
zip -r chrome-$(shell cat dist/manifest.json| jq -j .version).zip ./dist/*
|
|
|
|
edge: build
|
|
echo "building edge package"
|
|
EDGE_PKG_NAME="omnivore-extension-edge-$(shell cat dist/manifest.json| jq -j .version).zip" ; \
|
|
pushd dist; zip -r $${EDGE_PKG_NAME} ./*; popd;
|
|
|
|
|