Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,13 @@ deps-brew: ## Installs development dependencies from Homebrew
echo "$(COLOR_RED)Run your make command again after adding the above so that $(PYENV) is available.$(COLOR_RESET)"

.PHONY: deps-peru
deps-peru: $(PERU_CONFIG) ## Installs dependencies from Peru
$(PERU) sync
deps-peru: .peru/lastimports ## Installs dependencies from Peru
@echo "$(COLOR_GREEN)All Peru modules sync'd!$(COLOR_RESET)"

# peru outputs this file as a hash of the state of peru.yaml
.peru/lastimports: $(PERU_CONFIG)
$(PERU) sync --verbose --jobs $(shell nproc)

.PHONY: deps-ci
deps-ci: poetry-install $(DEPS_TASKS_IF_PERU_CONFIG) ## Install CI check and test dependencies (assumes Python & Poetry already present in env)
@echo "$(COLOR_GREEN)All CI dependencies installed!$(COLOR_RESET)"
Expand Down
Loading