🔧(react) chain commands within build script

Currently commands within build script are not chained so if one fail,
all other will run that could lead to mistunderstanding, that all is
working fine when no...
This commit is contained in:
jbpenrath
2023-08-10 18:26:33 +02:00
committed by Romain Le Cellier
parent 4eae45c4d9
commit 41ddaa5251

View File

@@ -1,7 +1,7 @@
#!/bin/bash
tsc
yarn build-theme
vite build
yarn build-fonts
yarn build-icons
cp -R src/locales dist/
tsc \
&& yarn build-theme \
&& vite build \
&& yarn build-fonts \
&& yarn build-icons \
&& cp -R src/locales dist/