Skip to content

Commit

Permalink
drop makefile, use justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rsalmei committed May 25, 2023
1 parent e42a563 commit 174866d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 37 deletions.
34 changes: 34 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# coverage related
cov := "--cov=alive_progress --cov-branch --cov-report=term-missing"

all:
@just --list

install:
pip install -r requirements/dev.txt -r requirements/test.txt -e .

clean: clean-build clean-pyc

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

clean-pyc:
find . -type f -name *.pyc -delete

lint:
ruff alive_progress --line-length 100

build: lint clean
python setup.py sdist bdist_wheel

release: build
twine upload dist/*

test:
pytest {{cov}}

ptw:
ptw -- {{cov}}

cov-report:
coverage report -m
37 changes: 0 additions & 37 deletions makefile

This file was deleted.

0 comments on commit 174866d

Please sign in to comment.