From 4b9c65a22e72717df285250edad7a7374b58faac Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 23 Feb 2023 20:06:14 -0300 Subject: copy file script --- copy-backend-into-rebuilt.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 copy-backend-into-rebuilt.sh (limited to 'copy-backend-into-rebuilt.sh') diff --git a/copy-backend-into-rebuilt.sh b/copy-backend-into-rebuilt.sh new file mode 100755 index 000000000..b9fa2a68e --- /dev/null +++ b/copy-backend-into-rebuilt.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