Files
the-sourdough-framework/makefile
Hendrik Kleinwaechter 6c8839da87 🤡 Add "make bake" command (#97)
I feel like since this is bread related, release should be renamed to
"bake". So `make bake` will bake you the final book versions.
2023-05-21 20:19:56 +02:00

12 lines
401 B
Makefile

.PHONY: build_book
build_book: build_docker_image
docker run -it -v .:/opt/repo the-sourdough-framework /bin/bash -c "cd /opt/repo/book && make build_pdf"
.PHONY: bake
bake: build_docker_image
docker run -it -v .:/opt/repo the-sourdough-framework /bin/bash -c "cd /opt/repo/book && make bake"
.PHONY: build_docker_image
build_docker_image:
docker build -t the-sourdough-framework -f Dockerfile .