Skip to content

Commit

Permalink
bug fix "[macos executables and linux executables] -GCString switch c…
Browse files Browse the repository at this point in the history
…annot run normally"

Macos executable file and Linux executables, also encountered the same problem at cmhughes#531
  • Loading branch information
fengzyf committed Mar 26, 2024
1 parent edbdf6f commit 8fad116
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/build-documentation-and-executables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,14 @@ jobs:
- name: preparations for PAR packer
run: |
sed -i'.bak' -r 's,eval\s\"use\sUnicode::GCString\"\sif\s\$switches\{GCString\},use Unicode::GCString,' latexindent.pl
PAR_VERBATIM=1
#
# https://metacpan.org/pod/pp
# https://github.com/plk/biber/blob/dev/dist/linux-musl_x86_64/build.sh
#
- name: create Linux executable latexindent using PAR Packer
run: >-
pp
--addfile="defaultSettings.yaml;lib/LatexIndent/defaultSettings.yaml"
--cachedeps=scancache
--output latexindent-linux
latexindent.pl
run: |
export PAR_VERBATIM=1
pp --addfile="defaultSettings.yaml;lib/LatexIndent/defaultSettings.yaml" --cachedeps=scancache --output latexindent-linux latexindent.pl
- name: move Linux latexindent to release directory
run: |
mkdir -p target/release
Expand Down Expand Up @@ -206,18 +202,13 @@ jobs:
- name: preparations for PAR packer
run: |
sed -i'.bak' -r 's,eval\s\"use\sUnicode::GCString\"\sif\s\$switches\{GCString\},use Unicode::GCString,' latexindent.pl
PAR_VERBATIM=1
#
# https://metacpan.org/pod/pp
# https://github.com/plk/biber/blob/dev/dist/linux-musl_x86_64/build.sh
#
- name: create MacOS executable latexindent using PAR Packer
run: >-
pp
--addfile="defaultSettings.yaml;lib/LatexIndent/defaultSettings.yaml"
--cachedeps=scancache
--output latexindent-macos
latexindent.pl
run: |
export PAR_VERBATIM=1 pp --addfile="defaultSettings.yaml;lib/LatexIndent/defaultSettings.yaml" --cachedeps=scancache --output latexindent-macos latexindent.pl
- name: move MacOS latexindent to release directory
run: |
mkdir -p target/release
Expand Down

0 comments on commit 8fad116

Please sign in to comment.