-
Notifications
You must be signed in to change notification settings - Fork 30
feat: cli and repo rework #171
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
base: main
Are you sure you want to change the base?
Conversation
1da0fb5 to
33c29bf
Compare
okwasniewski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Overall looks really good, left few minor comments
| { | ||
| const artifactName = 'ReactBrownfield.xcframework'; | ||
| artifactNames.push(artifactName); | ||
| await mergeFrameworks({ | ||
| sourceDir: iosBaseDir, | ||
| frameworkPaths: sdks.map((sdk) => | ||
| path.join( | ||
| options.buildFolder ?? | ||
| path.join( | ||
| iosBaseDir, | ||
| 'build', | ||
| `${scheme}-${options.configuration}-${sdk}` | ||
| ), | ||
| 'Build', | ||
| 'Products', | ||
| `${options.configuration}-${sdk}`, | ||
| 'ReactBrownfield', | ||
| 'ReactBrownfield.framework' | ||
| ) | ||
| ), | ||
| outputPath: path.join(outDir, artifactName), | ||
| }); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need to do the same for brownie, a nice future improvement would be to allow to pass in artifact names for the CLI to pick up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean exporting the Brownie native code as a separate XCFramework for native consumption and then packaging it with this CLI?
| return relativeConfig; | ||
| } | ||
|
|
||
| export async function executeCommand( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use spawn from Rock tools, it uses nano-spawn under the hood and handles these edge cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will!
d58773e to
d5c11f5
Compare
Summary
This PR:
CONTRIBUTING.mddescribing the scripts & anexamples.mdxpage for docs to list and briefly describe each of the example apps in the demo to enhance DX.turbodirectories)The changes address a few important aspects:
Test plan
CI green + all 3 apps working - tested manually.