added fall back if development package is not installed

master
Martin Scheidt 2022-03-11 11:31:08 +01:00
parent 9a7828e059
commit c9f5e7a7ba
2 changed files with 4 additions and 6 deletions

View File

@ -35,8 +35,5 @@ jobs:
profile-path: ${{ github.workspace }}/.github/tex/profile.minimal.txt
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
- name: "install tikz-trackschematic"
run: ./build.sh --non-interactive --install-dev
- name: "test tikz-trackschematic"
run: ./build.sh --non-interactive --test --verbose

View File

@ -341,12 +341,13 @@ check_trackschematic() {
ls $DEVDIR/tikz-trackschematic-dev.sty >> /dev/null 2>&1 || STATUS=1
if [ $STATUS = 0 ]; then
log_note "tikz-trackschematic-dev found"
log_note "Package tikz-trackschematic-dev found."
return 0
fi
log_error "Library 'tikz-trackschematic-dev' not found. Be sure to have tikz-trackschematic-dev installed!"
exit 1
log_note "Package 'tikz-trackschematic-dev' not found - using project src/."
export TEXINPUTS=.:../src/:$TEXINPUTS
}
## checks for updated repository