Bundle tray icons in repo (#5362)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-05-11 10:26:43 -04:00
1 parent d2abd582bc
commit d99cc5a015
8 files changed
+9 -14

No files matched your search

+2 -6
View File
@@ -32,7 +32,7 @@ compile-dev: node_modules
ci-validate-dev: binaries/client build-extensions compile-dev
.PHONY: dev
dev: binaries/client build/tray/trayIconTemplate.png build-extensions
dev: binaries/client build-extensions
rm -rf static/build/
yarn dev
@@ -53,7 +53,7 @@ integration: build
yarn integration
.PHONY: build
build: node_modules binaries/client build/tray/trayIconTemplate.png
build: node_modules binaries/client
yarn run npm:fix-build-version
$(MAKE) build-extensions -B
yarn run compile
@@ -70,9 +70,6 @@ $(extension_node_modules): node_modules
$(extension_dists): src/extensions/npm/extensions/dist $(extension_node_modules)
cd $(@:/dist=) && ../../node_modules/.bin/npm run build
build/tray/trayIconTemplate.png: node_modules
yarn ts-node ./build/generate-tray-icons.ts
.PHONY: clean-old-extensions
clean-old-extensions:
find ./extensions -mindepth 1 -maxdepth 1 -type d '!' -exec test -e '{}/package.json' \; -exec rm -rf {} \;
@@ -129,7 +126,6 @@ clean: clean-npm clean-extensions
rm -rf binaries/client
rm -rf dist
rm -rf static/build
rm -rf build/tray
rm -rf node_modules
rm -rf site
rm -rf docs/extensions/api