Skip to content

Commit b841463

Browse files
committed
Add new "pack" target for make
1 parent 4fd9732 commit b841463

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

Makefile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,15 @@ format:
1212
test:
1313
py.test --verbose --capture=no --exitfirst tests
1414

15-
before-commit: isort format lint test
15+
pack:
16+
pioinstaller pack
17+
18+
before-commit: isort format lint
1619

1720
clean:
1821
find . -name \*.pyc -delete
1922
find . -name __pycache__ -delete
2023
rm -rf .cache
21-
rm -rf build
22-
rm -rf htmlcov
23-
rm -f .coverage
24-
25-
profile:
26-
# Usage $ > make PIOARGS="boards" profile
27-
python -m cProfile -o .tox/.tmp/cprofile.prof $(shell which platformio) ${PIOARGS}
28-
snakeviz .tox/.tmp/cprofile.prof
2924

3025
publish:
3126
python setup.py sdist upload

0 commit comments

Comments
 (0)