view run-app.sh @ 2121:bd4370badbf7

Improve Makefile target `makemessages` * Change code to only run msginit, if the file is not there. This avoids losing data if msgmerge fails because of a temorarily bad .po file. Rewrite the used shell code using `if` instead of using more implicit `||` and `&&` operator to make it more readable. * Make the operation stop if one of the commands in the makemessages loop fails, so that errors are propagated up to the build process and can be noticed. Given to upstream at https://github.com/Polyconseil/vue-gettext/issues/84 .
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 05 Feb 2019 13:34:29 +0100
parents 9b2218a6c6ae
children
line wrap: on
line source

#!/usr/bin/env bash
exec 2>&1 ./cmd/gemma/gemma --config gemma.toml