minor changes
parent
90aebcda84
commit
44110223b6
|
@ -52,10 +52,10 @@ jobs:
|
||||||
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
|
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
|
||||||
|
|
||||||
# - name: "install tikz-trackschematic"
|
# - name: "install tikz-trackschematic"
|
||||||
# run: ./build.sh --noninteractive --install-dev
|
# run: ./build.sh --non-interactive --install-dev
|
||||||
|
|
||||||
# - name: "test tikz-trackschematic"
|
# - name: "test tikz-trackschematic"
|
||||||
# run: ./build.sh --noninteractive --test --verbose
|
# run: ./build.sh --non-interactive --test --verbose
|
||||||
|
|
||||||
# ## create varibale ${{ steps.tag.outputs.tag }}
|
# ## create varibale ${{ steps.tag.outputs.tag }}
|
||||||
# - name: "get tag"
|
# - name: "get tag"
|
||||||
|
@ -66,7 +66,7 @@ jobs:
|
||||||
# strip_v: false
|
# strip_v: false
|
||||||
|
|
||||||
# - name: "create tikz-trackschematic package"
|
# - 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
|
## opening a debug console
|
||||||
- name: Setup upterm session
|
- name: Setup upterm session
|
||||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
||||||
strip_v: false
|
strip_v: false
|
||||||
|
|
||||||
- name: "create tikz-trackschematic package"
|
- 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"
|
- name: "create release"
|
||||||
id: create_release
|
id: create_release
|
||||||
|
|
|
@ -36,7 +36,7 @@ jobs:
|
||||||
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
|
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
|
||||||
|
|
||||||
- name: "install tikz-trackschematic"
|
- name: "install tikz-trackschematic"
|
||||||
run: ./build.sh --noninteractive --install-dev
|
run: ./build.sh --non-interactive --install-dev
|
||||||
|
|
||||||
- name: "test tikz-trackschematic"
|
- name: "test tikz-trackschematic"
|
||||||
run: ./build.sh --noninteractive --test --verbose
|
run: ./build.sh --non-interactive --test --verbose
|
||||||
|
|
10
build.sh
10
build.sh
|
@ -29,7 +29,7 @@ install, test or release a package for tikz-trackschematic
|
||||||
|
|
||||||
-m, --messy Do not clean up afterwards.
|
-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.
|
-i, --install-dev Install as dev-package in local TeX Live environment.
|
||||||
The -i option overrides any previous -u option.
|
The -i option overrides any previous -u option.
|
||||||
|
@ -56,9 +56,7 @@ CLEANUP=1 # set by cli argument
|
||||||
process_arguments() {
|
process_arguments() {
|
||||||
while true; do
|
while true; do
|
||||||
# loop condition - test for empty string:
|
# loop condition - test for empty string:
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then break; fi
|
||||||
break;
|
|
||||||
fi
|
|
||||||
# loop test
|
# loop test
|
||||||
case $1 in
|
case $1 in
|
||||||
-h|--help)
|
-h|--help)
|
||||||
|
@ -77,7 +75,7 @@ process_arguments() {
|
||||||
-m|--messy)
|
-m|--messy)
|
||||||
CLEANUP=0
|
CLEANUP=0
|
||||||
;;
|
;;
|
||||||
-n|--noninteractive)
|
-n|--non-interactive)
|
||||||
NOINTERACT=1
|
NOINTERACT=1
|
||||||
;;
|
;;
|
||||||
-i|--install-dev)
|
-i|--install-dev)
|
||||||
|
@ -136,7 +134,7 @@ fi
|
||||||
log() {
|
log() {
|
||||||
NO_LINE_BREAK=0
|
NO_LINE_BREAK=0
|
||||||
COLOR=${COLOR_RESET}
|
COLOR=${COLOR_RESET}
|
||||||
if [ ${2:0:2} = "-n" ]; then
|
if [ "$2" = "-n" ]; then
|
||||||
NO_LINE_BREAK=1
|
NO_LINE_BREAK=1
|
||||||
fi
|
fi
|
||||||
if [ $1 = 1 ]; then
|
if [ $1 = 1 ]; then
|
||||||
|
|
Loading…
Reference in New Issue