From 804ef8acb4d24d61a69f8b8add868ad642c451ff Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 29 Mar 2023 19:33:58 +0200 Subject: repo: move Makefile helper scripts to contrib --- contrib/copy-backend-into-prebuilt.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 contrib/copy-backend-into-prebuilt.sh (limited to 'contrib/copy-backend-into-prebuilt.sh') diff --git a/contrib/copy-backend-into-prebuilt.sh b/contrib/copy-backend-into-prebuilt.sh new file mode 100755 index 000000000..b9fa2a68e --- /dev/null +++ b/contrib/copy-backend-into-prebuilt.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +[ ! -d prebuilt ] && echo 'directory "prebuilt" not found. first checkout the prebuilt branch into a prebuilt directory' && exit 1 + +for file in depleted_tip.en.html offer_refund.en.html offer_tip.en.html request_payment.en.html show_order_details.en.html; do + cp packages/merchant-backend-ui/dist/pages/$file prebuilt/backend/ +done + -- cgit v1.2.3