🚀 chore(Makefile): add make targets to install backend and frontend dependencies
The Makefile now has two new targets, `install_backend` and `install_frontend`, which install the dependencies for the backend and frontend respectively. This makes it easier for developers to set up the project as they can now run `make init` to install the pre-commit hooks and all dependencies.
This commit is contained in:
parent
023df99ecc
commit
4848759aeb
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -5,6 +5,10 @@ all: help
|
||||||
init:
|
init:
|
||||||
@echo 'Installing pre-commit hooks'
|
@echo 'Installing pre-commit hooks'
|
||||||
git config core.hooksPath .githooks
|
git config core.hooksPath .githooks
|
||||||
|
@echo 'Installing backend dependencies'
|
||||||
|
make install_backend
|
||||||
|
@echo 'Installing frontend dependencies'
|
||||||
|
make install_frontend
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
poetry run pytest --cov \
|
poetry run pytest --cov \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue