Remove prepare-pr so it does not checkout the branch (#2245)
This commit is contained in:
parent
9e8bebe942
commit
1b61a1cef1
1 changed files with 1 additions and 5 deletions
6
Makefile
6
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}'
|
||||
|
|
|
|||
Loading…
Reference in a new issue