Fix building PO template

The current version failed with

    Option "--directory" requires 1 arguments, but 0 were provided

In the current stdio npm module version, getopt() now requires a
`default:` attribute, otherwise it considers the options as required.

Also sync PO helpers with current cockpit.

Add PO template build to travis check, to make sure that it keeps
working.

Closes #375
This commit is contained in:
Martin Pitt 2020-09-29 12:04:13 +02:00 committed by Marius Vollmer
parent 6f8cd78783
commit cbedf06704
4 changed files with 19 additions and 10 deletions

View file

@ -5,3 +5,4 @@ node_js:
- "lts/*"
script:
- make
- make po/starter-kit.pot