fix(intltool)

This commit is contained in:
Jacob Heider 2024-03-04 15:13:56 -05:00 committed by Jacob Heider
parent d98efd224e
commit c171bb9d59

View file

@ -22,9 +22,11 @@ build:
dependencies: dependencies:
cpanmin.us: '*' cpanmin.us: '*'
script: script:
- cpanm -l {{prefix}} XML::Parser --force - cpanm -l {{prefix}} XML::Parser File::Basename Getopt::Long --force
- ./configure $ARGS - ./configure $ARGS
- make --jobs {{hw.concurrency}} install - make --jobs {{hw.concurrency}} install
- run: fix-shebangs.ts *
working-directory: '{{prefix}}/bin'
env: env:
PERL5LIB: ${{prefix}}/lib/perl5:{{prefix}}/libexec/lib/perl5:$PERL5LIB PERL5LIB: ${{prefix}}/lib/perl5:{{prefix}}/libexec/lib/perl5:$PERL5LIB
ARGS: ARGS:
@ -50,4 +52,4 @@ test:
- intltoolize --version | grep {{version}} - intltoolize --version | grep {{version}}
- intltool-extract --type=gettext/xml test.xml - intltool-extract --type=gettext/xml test.xml
- cat test.xml.h | grep 'This comment is not ignored' - cat test.xml.h | grep 'This comment is not ignored'
- cat test.xml.h | grep 'This comment is ignored' || true - cat test.xml.h | grep 'This comment is ignored' || true