heroku buildpacks:set https://github.com/jackrandom/heroku-buildpack-gettext
This buildpack compile GNU gettext with gettext-tools from official gettext
source code. As second time to build, it checks cache.
Following executable binaries are installed.
autopoint envsubst gettext gettextize gettext.sh msgattrib msgcat msgcmp msgcomm msgconv msgen msgexec msgfilter msgfmt msggrep msginit msgmerge msgunfmt msguniq ngettext recode-sr-latin xgettext
Current version is
% heroku run gettext --version Runnig gettext --version on XXXX...up, run.NNNN (XXXX) gettext (GNU gettext-runtime) 0.20.1 Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Ulrich Drepper.
LD_LIBRARY_PATH should be set to search run-time library.
It is done by
This will be created by this buildpack.
% cat .buildpacks https://gitlab.com/grauwoelfchen/heroku-buildpack-gettext#v0.1 ... % git push heroku release:master ... remote: Compressing source files... done. remote: Building source: remote: remote: -----> Multipack app detected remote: =====> Downloading Buildpack: https://gitlab.com/grauwoelfchen/ heroku-buildpack-gettext remote: =====> Detected Framework: GNU gettext ...
Test run on docker image.
This uses heroku-buildpack-testrunner.
% sh ./test/suite.sh BUILDPACK: /app/buildpack TEST SUITE: compile_test.sh Ran 0 tests. OK 0 SECONDS TEST SUITE: detect_test.sh testExitStatus testDetectedName Ran 2 tests. OK 0 SECONDS 0 SECONDS ------ ALL OK 0 SECONDS
Copyright (c) 2017 Yasuhiro Asaka
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Copy the snippet above into CLI.