Download code/notes/src/build.sh from viai957/align: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/viai957/align/resolve/main/code/notes/src/build.sh
- Command line
-
hf download hf://viai957/align/code/notes/src/build.sh
-
curl -L -o build.sh https://huggingface.co/viai957/align/resolve/main/code/notes/src/build.sh
415 Bytes
| # usage: build.sh 0301-curry-howard "0301 - Curry-Howard" (run from anywhere) | |
| set -e | |
| source /apps/paper-tools/env.sh >/dev/null 2>&1 | |
| cd "$(dirname "$0")" | |
| mkdir -p build | |
| TEXINPUTS=".:" latexmk -g -pdf -interaction=nonstopmode -halt-on-error -outdir=build "$1.tex" >build/"$1".console.log 2>&1 || { tail -40 build/"$1".console.log; exit 1; } | |
| cp build/"$1.pdf" "../$2.pdf" | |
| echo "built ../$2.pdf" | |