Skip to content

Commit

Permalink
build: add Makefile command to update the project
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Jun 19, 2019
1 parent 856d8e7 commit 66e708a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@echo 'Extra commands:'
@echo ' dev to run some development checks before pushing a commit'
@echo ' update to update pre-commit repos and dependencies'

.PHONY: help Makefile

@@ -22,6 +23,12 @@ help:
sphinx-apidoc --force --module-first --separate --implicit-namespaces --output-dir docs/source nitpick/
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

update:
clear
pre-commit autoupdate
pre-commit gc
poetry update

dev:
clear
pre-commit run --all-files

0 comments on commit 66e708a

Please sign in to comment.