diff --git a/Makefile b/Makefile index e0ec1c11..3fa292f7 100755 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/package.json b/package.json index ad0cac41..728827cb 100644 --- a/package.json +++ b/package.json @@ -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"