added fall back if development package is not installed
parent
9a7828e059
commit
c0ad07f84e
|
@ -2,7 +2,6 @@
|
|||
latex-bin
|
||||
|
||||
## -- direct dependencies
|
||||
tikz-trackschematic
|
||||
pgf
|
||||
xkeyval
|
||||
etoolbox
|
||||
|
|
|
@ -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
|
||||
|
|
7
build.sh
7
build.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue