Make command to checkout PR from upstream

This commit is contained in:
Curtis Castrapel 2019-04-17 10:18:49 -07:00
parent 0c078fea57
commit eb16afb6e6
1 changed files with 4 additions and 0 deletions

View File

@ -125,5 +125,9 @@ endif
@echo "--> Done installing new dependencies" @echo "--> Done installing new dependencies"
@echo "" @echo ""
# Execute with make checkout-pr pr=<pr number>
checkout-pr:
git fetch upstream pull/$(pr)/head:pr-$(pr)
.PHONY: develop dev-postgres dev-docs setup-git build clean update-submodules test testloop test-cli test-js test-python lint lint-python lint-js coverage publish release .PHONY: develop dev-postgres dev-docs setup-git build clean update-submodules test testloop test-cli test-js test-python lint lint-python lint-js coverage publish release