source: rtems-central/Makefile @ c0ac12a

Last change on this file since c0ac12a was c0ac12a, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 25, 2020 at 12:54:17 PM

Initial import

  • Property mode set to 100644
File size: 330 bytes
Line 
1all: *.py rtemsqual/*.py | check-env
2        coverage run -m pytest tests
3        yapf -i $^ tests/*.py
4        flake8 $^
5        mypy $^
6        pylint $^
7
8check-env:
9        test -n "$$VIRTUAL_ENV"
10
11coverage-report:
12        coverage report -m --omit 'env/*'
13
14.PONY: env
15
16env:
17        python3 -m venv env
18        . env/bin/activate
19        pip install --upgrade pip
20        pip install -r requirements.txt
Note: See TracBrowser for help on using the repository browser.