diff options
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/client.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 3d1d0234e..a0277da01 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -16,6 +16,12 @@ post_build_hook () { | |||
16 | rmdir "./src/locale/pending_target/" | 16 | rmdir "./src/locale/pending_target/" |
17 | } | 17 | } |
18 | 18 | ||
19 | # Previous build failed | ||
20 | if [ ! -f client/src/locale/target/angular_fr_FR.xml ]; then | ||
21 | git checkout -- client/src/locale/target/ | ||
22 | rm -r client/src/locale/pending_target/ | ||
23 | fi | ||
24 | |||
19 | cd client | 25 | cd client |
20 | 26 | ||
21 | rm -rf ./dist ./compiled | 27 | rm -rf ./dist ./compiled |