gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: add make rule


From: gnunet
Subject: [taler-wallet-core] branch master updated: add make rule
Date: Mon, 23 Jan 2023 19:12:54 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 56622a247 add make rule
56622a247 is described below

commit 56622a247bde2a15e71761ac2ea2e48bf35985da
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Jan 23 15:12:48 2023 -0300

    add make rule
---
 Makefile                                     | 6 ++++++
 copy-backoffice-into-prebuilt.sh             | 3 +++
 packages/merchant-backoffice-ui/package.json | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5e4376d71..a5e97c9aa 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,12 @@ publish:
        pnpm run compile
        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
 .PHONY: typedoc
 typedoc:
diff --git a/copy-backoffice-into-prebuilt.sh b/copy-backoffice-into-prebuilt.sh
new file mode 100755
index 000000000..5f59882e0
--- /dev/null
+++ b/copy-backoffice-into-prebuilt.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+cp packages/merchant-backoffice-ui/dist/{index,lang*,material*,XRXV*}.* 
prebuilt/backoffice/
+
diff --git a/packages/merchant-backoffice-ui/package.json 
b/packages/merchant-backoffice-ui/package.json
index eb3aa1834..6ea09572b 100644
--- a/packages/merchant-backoffice-ui/package.json
+++ b/packages/merchant-backoffice-ui/package.json
@@ -1,6 +1,6 @@
 {
   "private": true,
-  "name": "@gnu-taler/merchant-backoffice",
+  "name": "@gnu-taler/merchant-backoffice-ui",
   "version": "0.0.5",
   "license": "AGPL-3.0-or-later",
   "type": "module",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]