add cli. add pdf export. add solutions.

This commit is contained in:
matt
2023-07-28 08:05:36 -07:00
parent 621fc95755
commit 3b1b38cb13
15 changed files with 215 additions and 75 deletions

9
Makefile Normal file
View File

@@ -0,0 +1,9 @@
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