Skip to content

Commit

Permalink
Makefile target for big install command (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfrench authored May 22, 2024
1 parent b0606c7 commit f7bf180
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ publish: ## Push git tag and publish version to PyPI.
@poetry build
@poetry publish

.PHONY: install
install: ## Install all dependencies.
@poetry install --with dev --with test --with docs --all-extras

.DEFAULT_GOAL := help
.PHONY: help
help: ## Print Makefile help text.
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,16 @@ We welcome and encourage pull requests. To streamline the process, please follow

### Tools

Install dev dependencies with Poetry:
Install dev dependencies via Make:

```shell
poetry install --all-extras --with dev --with test
make install
```

Or install by calling Poetry directly:

```shell
poetry install --all-extras --with dev --with test --with docs
```

Configure pre-commit to ensure that your code is formatted correctly and passes all checks:
Expand Down

0 comments on commit f7bf180

Please sign in to comment.