Skip to content

Commit 23b4655

Browse files
committed
Cleaned up makefile.
1 parent b9d8112 commit 23b4655

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Makefile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
project = abjadext
2-
formatPaths = ${project}/ tests/ *.py
1+
.PHONY: build
32

43
black-check:
54
black --check --diff --target-version=py38 .
@@ -18,7 +17,6 @@ clean:
1817
rm -Rif .tox/
1918
rm -Rif build/
2019
rm -Rif dist/
21-
rm -Rif htmlcov/
2220
rm -Rif prof/
2321

2422
flake_ignore = --ignore=E203,E266,E501,W503
@@ -37,7 +35,7 @@ isort-check:
3735
--thirdparty=uqbar \
3836
--trailing-comma \
3937
--use-parentheses \
40-
${formatPaths}
38+
abjadext/ tests/ *.py
4139

4240
isort-reformat:
4341
isort \
@@ -48,22 +46,21 @@ isort-reformat:
4846
--thirdparty=uqbar \
4947
--trailing-comma \
5048
--use-parentheses \
51-
${formatPaths}
49+
abjadext/ tests/ *.py
5250

5351
jupyter-test:
5452
jupyter nbconvert --to=html --ExecutePreprocessor.enabled=True tests/test.ipynb
5553

5654
mypy:
57-
mypy ${project}/
55+
mypy .
5856

5957
reformat:
6058
black-reformat
6159
isort-reformat
6260

63-
release: docs clean build
61+
release: clean build
6462
pip install -U twine
6563
twine upload dist/*.tar.gz
66-
make gh-pages
6764

6865
check:
6966
make black-check

0 commit comments

Comments
 (0)