Makefile - update checks commands
This commit is contained in:
parent
90269af04f
commit
7d6b0ddb76
11
Makefile
11
Makefile
@ -24,9 +24,9 @@ bandit:
|
|||||||
build-client: lint-client
|
build-client: lint-client
|
||||||
cd fittrackee_client && $(NPM) build
|
cd fittrackee_client && $(NPM) build
|
||||||
|
|
||||||
check-all: bandit lint-all type-check test-all
|
check-all: bandit lint-all type-check-all test-all
|
||||||
|
|
||||||
check-client: lint-client test-client
|
check-client: lint-client type-check-client test-client
|
||||||
|
|
||||||
check-python: bandit lint-python type-check test-python
|
check-python: bandit lint-python type-check test-python
|
||||||
|
|
||||||
@ -263,12 +263,17 @@ test-python:
|
|||||||
$(PYTEST) fittrackee --cov-config .coveragerc --cov=fittrackee --cov-report term-missing $(PYTEST_ARGS)
|
$(PYTEST) fittrackee --cov-config .coveragerc --cov=fittrackee --cov-report term-missing $(PYTEST_ARGS)
|
||||||
|
|
||||||
test-client:
|
test-client:
|
||||||
cd fittrackee_client && $(NPM) test:unit $(MOCHA_ARGS)
|
cd fittrackee_client && $(NPM) test:unit run
|
||||||
|
|
||||||
|
test-client-watch:
|
||||||
|
cd fittrackee_client && $(NPM) test:unit watch
|
||||||
|
|
||||||
type-check:
|
type-check:
|
||||||
echo 'Running mypy...'
|
echo 'Running mypy...'
|
||||||
$(MYPY) fittrackee
|
$(MYPY) fittrackee
|
||||||
|
|
||||||
|
type-check-all: type-check-client type-check
|
||||||
|
|
||||||
type-check-client:
|
type-check-client:
|
||||||
cd fittrackee_client && $(NPM) type-check
|
cd fittrackee_client && $(NPM) type-check
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user