🔧(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:
committed by
Romain Le Cellier
parent
4eae45c4d9
commit
41ddaa5251
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user