.PHONY: install-dev format check-format test build publish clean

install:
	pip install -e .

install-dev:
	pip install -e ".[dev]"

format:
	python -m black src tests

check-format:
	python -m black --check src tests
	
test:
	pytest tests --cov=sws_spark_dissemination_helper --cov-report=xml

build:
	python -m build

publish: build
	twine upload dist/*

clean:
	rm -rf dist build *.egg-info
