minor changes

master
Martin Scheidt 2022-03-10 15:41:17 +01:00
parent 90aebcda84
commit 44110223b6
4 changed files with 10 additions and 12 deletions

View File

@ -52,10 +52,10 @@ jobs:
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
# - name: "install tikz-trackschematic"
# run: ./build.sh --noninteractive --install-dev
# run: ./build.sh --non-interactive --install-dev
# - name: "test tikz-trackschematic"
# run: ./build.sh --noninteractive --test --verbose
# run: ./build.sh --non-interactive --test --verbose
# ## create varibale ${{ steps.tag.outputs.tag }}
# - name: "get tag"
@ -66,7 +66,7 @@ jobs:
# strip_v: false
# - name: "create tikz-trackschematic package"
# run: ./build.sh --noninteractive --release ${{ steps.tag.outputs.tag }}
# run: ./build.sh --non-interactive --release ${{ steps.tag.outputs.tag }}
## opening a debug console
- name: Setup upterm session

View File

@ -27,7 +27,7 @@ jobs:
strip_v: false
- name: "create tikz-trackschematic package"
run: ./build.sh --noninteractive --release ${{ steps.tag.outputs.tag }}
run: ./build.sh --non-interactive --release ${{ steps.tag.outputs.tag }}
- name: "create release"
id: create_release

View File

@ -36,7 +36,7 @@ jobs:
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
- name: "install tikz-trackschematic"
run: ./build.sh --noninteractive --install-dev
run: ./build.sh --non-interactive --install-dev
- name: "test tikz-trackschematic"
run: ./build.sh --noninteractive --test --verbose
run: ./build.sh --non-interactive --test --verbose

View File

@ -29,7 +29,7 @@ install, test or release a package for tikz-trackschematic
-m, --messy Do not clean up afterwards.
-n, --noninteractive Run script with no interaction.
-n, --non-interactive Run script with no interaction.
-i, --install-dev Install as dev-package in local TeX Live environment.
The -i option overrides any previous -u option.
@ -56,9 +56,7 @@ CLEANUP=1 # set by cli argument
process_arguments() {
while true; do
# loop condition - test for empty string:
if [ -z "$1" ]; then
break;
fi
if [ -z "$1" ]; then break; fi
# loop test
case $1 in
-h|--help)
@ -77,7 +75,7 @@ process_arguments() {
-m|--messy)
CLEANUP=0
;;
-n|--noninteractive)
-n|--non-interactive)
NOINTERACT=1
;;
-i|--install-dev)
@ -136,7 +134,7 @@ fi
log() {
NO_LINE_BREAK=0
COLOR=${COLOR_RESET}
if [ ${2:0:2} = "-n" ]; then
if [ "$2" = "-n" ]; then
NO_LINE_BREAK=1
fi
if [ $1 = 1 ]; then