init
CI / python (push) Canceled after 0s
CI / web (push) Canceled after 0s

This commit is contained in:
Meghdad committed 2026-09-12 22:59:58 +03:30
commit d14b2b98c4
49 files changed
+13268

No files matched your search

+23
View File
@@ -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