build: build all

This commit is contained in:
EnixCoda 2024-09-23 22:09:09 +08:00
parent 2c343d4788
commit a0e41ae983
2 changed files with 6 additions and 2 deletions

View file

@ -12,6 +12,9 @@ update-icons:
build:
yarn build
build-all:
yarn build:all
test:
yarn test
@ -34,14 +37,14 @@ compress-source:
zip -r dist/Gitako-$(FULL_VERSION)-source.zip vscode-icons/icons
release:
$(MAKE) build
$(MAKE) build-all
$(MAKE) test
$(MAKE) upload-for-analytics
$(MAKE) compress
$(MAKE) compress-source
release-dry-run:
$(MAKE) build
$(MAKE) build-all
$(MAKE) test
$(MAKE) compress
$(MAKE) compress-source

View file

@ -18,6 +18,7 @@
"postinstall": "patch-package",
"postversion": "sh scripts/post-version.sh",
"build": "VERSION=v$(node scripts/get-version.js) NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production webpack",
"build:all": "GITAKO_TARGET= yarn run build",
"build:analyze": "ANALYZE= yarn run build",
"test": "NODE_ENV=test jest --config __tests__/jest.puppeteer.config.js",
"test:unit": "NODE_ENV=test jest --config jest.config.js"