Mercurial > gemma
view 3rdpartylibs.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 | 251ee25accce |
children | 86173ac7f222 |
line wrap: on
line source
#!/bin/sh go get -u -v github.com/jackc/pgx # MIT go get -u -v github.com/etcd-io/bbolt/... # MIT go get -u -v github.com/mitchellh/go-homedir # MIT go get -u -v github.com/spf13/cobra # Apache-2.0 go get -u -v github.com/spf13/viper # MIT go get -u -v github.com/gorilla/mux # BSD-3-Clause go get -u -v gopkg.in/gomail.v2 # MIT go get -u -v github.com/rs/cors # MIT go get -u -v golang.org/x/net/html/charset # Go License (aka BSD-3-Clause?) go get -u -v github.com/golang/snappy # BSD-3-Clause go get -u -v github.com/jonas-p/go-shp # MIT go get -u -v github.com/robfig/cron # MIT ## list of additional licenses that get fetched and installed as dependencies # github.com/fsnotify/fsnotify/ BSD-3-Clause # github.com/hashicorp/hcl/ MPL-2.0 # github.com/magiconair/properties/ BSD-2-Clause # github.com/mitchellh/go-homedir/ MIT # github.com/mitchellh/mapstructure MIT # github.com/pelletier/go-toml/ MIT # github.com/pkg/errors BSD-2-Clause # github.com/spf13/afero/ Apache 2.0 # github.com/spf13/cast MIT # github.com/spf13/jwalterweatherman MIT # gopkg.in/yaml.v2/#