copy file script

This commit is contained in:
Sebastian 2023-02-23 20:06:14 -03:00
parent 538a1b97b2
commit 4b9c65a22e
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 11 additions and 0 deletions

8
copy-backend-into-rebuilt.sh Executable file
View File

@ -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

View File

@ -1,3 +1,6 @@
#!/bin/bash #!/bin/bash
[ ! -d prebuilt ] && echo 'directory "prebuilt" not found. first checkout the prebuilt branch into a prebuilt directory' && exit 1
cp packages/merchant-backoffice-ui/dist/{index,lang*,material*,XRXV*}.* prebuilt/backoffice/ cp packages/merchant-backoffice-ui/dist/{index,lang*,material*,XRXV*}.* prebuilt/backoffice/