Skip to content

Commit 40af1e0

Browse files
committed
add makefile
1 parent 68ff47c commit 40af1e0

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
clean: clean-pyc clean-test
2+
3+
clean-pyc:
4+
find . -name '*.pyc' -exec rm -f {} +
5+
find . -name '*.pyo' -exec rm -f {} +
6+
find . -name '*~' -exec rm -f {} +
7+
find . -name '__pycache__' -exec rm -fr {} +
8+
find . -name '.pytest_cache' -exec rm -fr {} +
9+
10+
clean-test:
11+
rm -fr .tox/
12+
rm -f .coverage
13+
rm -fr htmlcov/
14+
15+
lint:
16+
pylint src
17+
18+
test:
19+
pytest --cov-config=.coveragerc --cov=src

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Currently a work in progress...🏗️
44

55
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
66
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black)
7+
[![codecov](https://codecov.io/gh/julian-west/python_portfolio_tracker/branch/master/graph/badge.svg)](https://codecov.io/gh/julian-west/python_portfolio_tracker)
78

89
Track the performance of your portfolio using Python!
910

0 commit comments

Comments
 (0)