add make rule
This commit is contained in:
parent
3348db0d5e
commit
56622a247b
6
Makefile
6
Makefile
@ -34,6 +34,12 @@ publish:
|
|||||||
pnpm run compile
|
pnpm run compile
|
||||||
pnpm publish -r --no-git-checks
|
pnpm publish -r --no-git-checks
|
||||||
|
|
||||||
|
.PHONY: backoffice-prebuilt
|
||||||
|
backoffice-prebuilt:
|
||||||
|
pnpm install --frozen-lockfile --filter @gnu-taler/merchant-backoffice-ui...
|
||||||
|
pnpm run --filter @gnu-taler/merchant-backoffice-ui... build
|
||||||
|
./copy-backoffice-into-prebuilt.sh
|
||||||
|
|
||||||
# make documentation from docstrings
|
# make documentation from docstrings
|
||||||
.PHONY: typedoc
|
.PHONY: typedoc
|
||||||
typedoc:
|
typedoc:
|
||||||
|
3
copy-backoffice-into-prebuilt.sh
Executable file
3
copy-backoffice-into-prebuilt.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cp packages/merchant-backoffice-ui/dist/{index,lang*,material*,XRXV*}.* prebuilt/backoffice/
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "@gnu-taler/merchant-backoffice",
|
"name": "@gnu-taler/merchant-backoffice-ui",
|
||||||
"version": "0.0.5",
|
"version": "0.0.5",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
Loading…
Reference in New Issue
Block a user