Reading html files through BeautifulSoup
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,18 +1,20 @@
|
||||
|
||||
TEST_FILES = $(wildcard samples/*.zip)
|
||||
|
||||
PYTHONPATH = $(CURDIR)/modules/ebooklib
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
python gragir/__main__.py -v samples/algorithms_third_edition_in_c.zip algorithms_third_edition_in_c.epub
|
||||
test: test_samples/algorithms_third_edition_in_c.zip
|
||||
|
||||
.PHONY: test_all
|
||||
test_all: $(addprefix test_,$(TEST_FILES))
|
||||
|
||||
|
||||
.ONESHELL:
|
||||
.PHONY: $(addprefix test_,$(TEST_FILES))
|
||||
$(addprefix test_,$(TEST_FILES)): test_%:
|
||||
@echo Testing $*
|
||||
@python gragir/__main__.py -v $* test_out/$(*F).epub
|
||||
@set PYTHONPATH=$(PYTHONPATH) && python gragir/__main__.py -v $* test_out/$(*F).epub
|
||||
|
||||
#python gragir/__main__.py samples/algorithms_third_edition_in_c.zip algorithms_third_edition_in_c.epub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user