Bertrand Benjamin
a911b98520
All checks were successful
continuous-integration/drone/push Build is passing
20 lines
733 B
Makefile
20 lines
733 B
Makefile
docker-build-simple:
|
|
docker build -f Dockerfile.simple -t simple .
|
|
|
|
docker-simple: docker-build-simple
|
|
docker run simple sh -c "bopytex -q 2 tpl_example.tex && ls"
|
|
|
|
docker-build-usecase:
|
|
docker build -f Dockerfile.usecase -t usecase .
|
|
|
|
docker-usecase: docker-build-usecase
|
|
docker run usecase sh -c "bopytex -s students.csv tpl_example.tex && cat 1_example.tex"
|
|
|
|
usecase-example: docker-build-usecase
|
|
docker run usecase sh -c "bopytex -s students.csv tpl_example.tex && cat joined_example.pdf" > example/usecase/joined_example.pdf
|
|
|
|
simple-example: docker-build-simple
|
|
docker run simple sh -c "bopytex -q 2 tpl_example.tex && cat joined_example.pdf" > example/simple/joined_example.pdf
|
|
|
|
examples: usecase-example simple-example
|