Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Master] Some refactoring and fail if bp binary is not found adjacent to bluepill binary #380

Merged

Conversation

ravimandala
Copy link
Contributor

TL;DR Rebasing changes from #378 to be merged into master

Major change: Do not look for bp binary on PATH and simply fail if it is not found adjacent to the bluepill binary.

Also did some refactoring, cleanup and improvements like...

  1. Moved a helper method to utils
  2. Enhancing error messages and better error handling
  3. Fixing asserts in tests
  4. Renaming variables

P.S: Works best if pushed after #379

\cc @ob @jmkk Please review.

Copy link
Member

@ob ob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good cleanup, thanks for doing it.

bluepill/src/main.m Show resolved Hide resolved
…actoring

Do not look for `bp` binary on `PATH` and simply fail if it is not found adjacent to `bluepill` binary.

Also did some refactoring, cleanup and improvements like...
1. Moved a helper method to utils
2. Enhancing error messages and better error handling
3. Fixing asserts in tests
4. Renaming variables
@ravimandala
Copy link
Contributor Author

@ob Thank you Oscar, for your review. Please merge it as soon as the checks are done.
I wish the checks do not take 1+ hours, on each and every commit!

@ob ob merged commit 2c913e3 into MobileNativeFoundation:master Oct 31, 2019
ravimandala added a commit to ravimandala/bluepill that referenced this pull request Oct 31, 2019
…actoring (MobileNativeFoundation#380)

Do not look for `bp` binary on `PATH` and simply fail if it is not found adjacent to `bluepill` binary.

Also did some refactoring, cleanup and improvements like...
1. Moved a helper method to utils
2. Enhancing error messages and better error handling
3. Fixing asserts in tests
4. Renaming variables
ravimandala added a commit to ravimandala/bluepill that referenced this pull request Apr 3, 2020
…actoring (MobileNativeFoundation#380)

Do not look for `bp` binary on `PATH` and simply fail if it is not found adjacent to `bluepill` binary.

Also did some refactoring, cleanup and improvements like...
1. Moved a helper method to utils
2. Enhancing error messages and better error handling
3. Fixing asserts in tests
4. Renaming variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants