leetcode-export/Makefile

10 lines
302 B
Makefile
Raw Normal View History

PYTHON=.venv/bin/python
SET=neetcode150
.PHONY: build
build:
$(PYTHON) src build --problem_set $(SET) --out problems --out solutions
pandoc build/problems-$(SET).md --pdf-engine=xelatex -o dist/problems-$(SET).pdf
pandoc build/solutions-$(SET).md --pdf-engine=xelatex -o dist/solutions-$(SET).pdf