diff --git a/Makefile b/Makefile index fc700d302..14c69256e 100644 --- a/Makefile +++ b/Makefile @@ -223,7 +223,7 @@ unsigned-android: stop pre-run check-style prepare-android-build ## Build an uns test: | pre-run check-style ## Runs tests @npm test -build-pr: | can-build-pr prepare-pr stop pre-run check-style ## Build a PR from the mattermost-mobile repo +build-pr: | can-build-pr stop pre-run check-style ## Build a PR from the mattermost-mobile repo @if [ $(shell ps -ef | grep -i "cli.js start" | grep -civ grep) -eq 0 ]; then \ echo Starting React Native packager server; \ npm start & echo; \ @@ -238,10 +238,6 @@ can-build-pr: exit 1; \ fi -prepare-pr: - @git fetch origin pull/${PR_ID}/head:PR-${PR_ID} - @git checkout PR-${PR_ID} - ## Help documentation https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'