copy file script
This commit is contained in:
parent
538a1b97b2
commit
4b9c65a22e
8
copy-backend-into-rebuilt.sh
Executable file
8
copy-backend-into-rebuilt.sh
Executable 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
|
||||
|
@ -1,3 +1,6 @@
|
||||
#!/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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user