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

fix(devtools): add warning to macos debug and document flag passthrough example #1661

Merged
merged 7 commits into from
Jul 14, 2023

Conversation

daniellacosse
Copy link
Contributor

No description provided.

@daniellacosse daniellacosse requested a review from a team as a code owner July 11, 2023 02:29
@daniellacosse daniellacosse changed the title fix: add warning to macos debug and document flag passthrough example fix(dev): add warning to macos debug and document flag passthrough example Jul 11, 2023
@daniellacosse daniellacosse changed the title fix(dev): add warning to macos debug and document flag passthrough example fix(devtools): add warning to macos debug and document flag passthrough example Jul 11, 2023
@codecov
Copy link

codecov bot commented Jul 11, 2023

Codecov Report

Patch coverage has no change and project coverage change: +9 🎉

Comparison is base (4938e04) 36% compared to head (22ce333) 45%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #1661    +/-   ##
=======================================
+ Coverage      36%     45%    +9%     
=======================================
  Files          45      39     -6     
  Lines        2756    1943   -813     
  Branches      312     312            
=======================================
- Hits         1006     885   -121     
+ Misses       1750    1058   -692     
Flag Coverage Δ
apple ?
ios ?
macos ?
unittests 45% <ø> (+9%) ⬆️
www 45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

README.md Outdated Show resolved Hide resolved
src/cordova/setup.action.mjs Outdated Show resolved Hide resolved
);
}

console.warn(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does debug mode work on Intel? If so, perhaps we output this only for non-intel

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, it's on everything :/ Because console.assert is bugged on the deprecated web view

Certain actions take configuration flags - but since we're running them through `npm`, you'll have to use the `--` seperator to funnel them through to the underlying process. For example, to set up a MacOS project in release mode, you'd run:

```sh
SENTRY_DSN=<your sentry dsn> npm run action cordova/setup macos -- --buildMode=release --versionName=<your version name>
Copy link
Collaborator

Choose a reason for hiding this comment

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

FYI, I added a command to the Apple readme that people can copy and past as-is: https://github.com/Jigsaw-Code/outline-client/blob/fortuna-readme/src/cordova/apple/README.md#set-up-xcode-project

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great!

@daniellacosse daniellacosse merged commit 4fa0edc into master Jul 14, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants