Skip to content

Commit

Permalink
Add bootstrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Mar 26, 2023
1 parent 6e21277 commit 03fff3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
To confirm these system dependencies are configured correctly:

```text
$ make bootstrap
$ make doctor
```

Expand Down
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ dev: install .clean-test ## Continuously run CI tasks when files chanage

# SYSTEM DEPENDENCIES #########################################################

.PHONY: boostrap
boostrap: ## Attempt to install system dependencies
asdf plugin add python || asdf plugin update python
asdf plugin add poetry https://github.com/asdf-community/asdf-poetry.git || asdf plugin update poetry
asdf install

.PHONY: doctor
doctor: ## Confirm system dependencies are available
doctor: ## Confirm system dependencies are available
bin/verchew

# PROJECT DEPENDENCIES ########################################################
Expand Down Expand Up @@ -97,7 +103,7 @@ format: install
@ echo

.PHONY: check
check: install format ## Run formaters, linters, and static analysis
check: install format ## Run formaters, linters, and static analysis
ifdef CI
git diff --exit-code
endif
Expand Down

0 comments on commit 03fff3c

Please sign in to comment.