Skip to content

Commit

Permalink
Try to run make ci with real translations.
Browse files Browse the repository at this point in the history
This adds a new make target, po-fallback, which will attempt to fetch
translations from Zanata and fallback to empty .po files if that fails.
  • Loading branch information
dashea committed Nov 5, 2015
1 parent 0421138 commit 8ac8525
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.am
Expand Up @@ -67,7 +67,11 @@ po-empty:
exit 1 ; \
done

scratch: po-empty
# Try to fetch the real .po files, but if that fails use the empty ones
po-fallback:
$(MAKE) po-pull || $(MAKE) po-empty

scratch: po-fallback
$(MAKE) ARCHIVE_TAG=HEAD dist
git checkout -- $(srcdir)/po/$(PACKAGE_NAME).pot

Expand Down

0 comments on commit 8ac8525

Please sign in to comment.