more Makefile improvements

This commit is contained in:
Florian Dold 2022-03-08 13:14:33 +01:00
parent 9c758d1fe9
commit d0376d9e68
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 6 additions and 12 deletions

View File

@ -42,28 +42,21 @@ submodules-update:
.PHONY: check .PHONY: check
check: check:
pnpm i -r --frozen-lockfile pnpm install -r --frozen-lockfile
pnpm run compile pnpm run compile
pnpm run check pnpm run check
.PHONY: webextensions .PHONY: webextension
webextension: webextension:
pnpm i -r --frozen-lockfile pnpm install --frozen-lockfile --filter @gnu-taler/taler-wallet-webextension...
pnpm run compile
cd ./packages/taler-wallet-webextension/ && ./pack.sh cd ./packages/taler-wallet-webextension/ && ./pack.sh
.PHONY: webextension-dev-view .PHONY: webextension-dev-view
webextension-dev-view: webextension-dev-view:
pnpm i -r --frozen-lockfile pnpm install -r --frozen-lockfile
pnpm run compile pnpm run compile
pnpm run --filter @gnu-taler/taler-wallet-webextension storybook pnpm run --filter @gnu-taler/taler-wallet-webextension storybook
.PHONY: integrationtests
integrationtests: compile
pnpm i -r --frozen-lockfile
pnpm run compile
./packages/taler-integrationtests/testrunner '*'
.PHONY: i18n .PHONY: i18n
i18n: compile i18n: compile
# extract translatable strings # extract translatable strings

View File

@ -51,4 +51,4 @@
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"tslib": "^2.3.1" "tslib": "^2.3.1"
} }
} }

View File

@ -12,6 +12,7 @@
"test": "mocha --enable-source-maps 'dist/**/*.test.js'", "test": "mocha --enable-source-maps 'dist/**/*.test.js'",
"test:coverage": "nyc pnpm test", "test:coverage": "nyc pnpm test",
"compile": "rollup -c -m", "compile": "rollup -c -m",
"prepare": "rollup -c -m",
"build-storybook": "build-storybook", "build-storybook": "build-storybook",
"storybook": "start-storybook -s . -p 6006", "storybook": "start-storybook -s . -p 6006",
"pretty": "prettier --write src", "pretty": "prettier --write src",