Skip to content

Commit

Permalink
keep up with the flow of time
Browse files Browse the repository at this point in the history
  • Loading branch information
oetiker committed Jan 31, 2024
1 parent f260198 commit aab1f13
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
matrix:
fail-fast: false
include:
- ubuntu: 18.04
docker_file: Dockerfile
image_version_tag: '18.04'
- ubuntu: 20.04
docker_file: Dockerfile
image_version_tag: '18.04'
image_version_tag: '20.04'
- ubuntu: 22.04
docker_file: Dockerfile
image_version_tag: '22.04'

runs-on: ubuntu-latest
name: Build package defined in ${{ matrix.docker_file }} for tag {{$matrix.image_version_tag}}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Run docker build
id: build_package
uses: ./.github/actions/build-release-action
Expand All @@ -34,6 +34,3 @@ jobs:
files: ${{ github.workspace }}/${{ steps.build_package.outputs.package_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}



Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ clean-local:
LANGUAGES := $(shell $(PERL) -e 'use JSON::PP qw(decode_json); print join(" ", map {"share/".$$_.".po"} @{decode_json(join("",<>))->{locales}})' frontend/compile.json)
CALLBACKERY_PM := $(shell find thirdparty/lib/perl5/CallBackery -name "*.pm")

share/messages.pot: $(PM) $(CALLBACKERY_PM)
share/messages.pot: $(PM) $(CALLBACKERY_PM) Makefile.am
mkdir -p share
$(XGETTEXT) -s --language=perl --package-name=$(PACKAGE) --package-version=$(VERSION) --from-code=UTF-8 --keyword=trm:1 --output=share/messages.pot $(PM) $(CALLBACKERY_PM)
sed -i 's/; charset=CHARSET/; charset=UTF-8/' share/messages.pot
Expand Down
22 changes: 8 additions & 14 deletions lib/Mojolicious/Command/Author/generate/automake_app/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,17 @@ fi

% if ($package eq 'callbackery' ) {

ac_node_version="10"
ac_node_version="20"

if test -x "$NODE"; then
AC_MSG_CHECKING(make sure we have at least node ${ac_node_version})
case `$NODE --version` in
v16*)
AC_MSG_RESULT(ok v16)
;;
v18*)
AC_MSG_RESULT(ok v18)
;;
*)
AC_MSG_RESULT(no);
NODE=old-node
esac
AC_MSG_CHECKING(for node version greater than or equal to $ac_node_version)
if $PERL -e 'if (`'$NODE' --version` =~ /v(\d+)/ and $1 >= '$ac_node_version') { exit 1 }'; then
NODE=old-node-found
AC_MSG_RESULT(at least version ${ac_node_version} is required to re-build the fontend)
else
AC_MSG_RESULT(ok);
fi


AM_CONDITIONAL(BUILD_QOOXDOO_APP,[test -x $NODE])
% }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PM := $(shell find . -type d -name ".??*" -prune -o -not -name ".*" -a -not -name "*~" -a -not -name "*.tmp" -a -not -name "Makefile*" -a -type f -print )
PM := $(shell find -L . -type d -name ".??*" -prune -o -not -name ".*" -a -not -name "*~" -a -not -name "*.tmp" -a -not -name "Makefile*" -a -type f -print )
EXTRA_DIST = $(PM)
datadir = $(libdir)
nobase_data_DATA = $(PM)
Expand Down

0 comments on commit aab1f13

Please sign in to comment.