This commit is contained in:
49 files changed
+13268
No files matched your search
@@ -0,0 +1,23 @@
|
||||
PYTHON := .venv/bin/python
|
||||
PIP := .venv/bin/pip
|
||||
WEB_DIR := apps/web
|
||||
|
||||
.PHONY: setup test lint build check
|
||||
|
||||
setup:
|
||||
python3 -m venv .venv
|
||||
$(PIP) install -e apps/scraper
|
||||
cd $(WEB_DIR) && npm ci
|
||||
|
||||
test:
|
||||
$(PYTHON) -m unittest discover -s apps/scraper/tests -v
|
||||
cd $(WEB_DIR) && npm test
|
||||
|
||||
lint:
|
||||
$(PYTHON) -m py_compile apps/scraper/src/hamchin_scraper/*.py
|
||||
cd $(WEB_DIR) && npm run lint
|
||||
|
||||
build:
|
||||
cd $(WEB_DIR) && npm run build
|
||||
|
||||
check: test lint build
|
||||
Reference in new issue
Block a user