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

Add some Xamarin.iOS and Xamarin.Android helpers #527

Merged
merged 2 commits into from
Aug 28, 2014

Conversation

gshackles
Copy link
Contributor

Here are some helpers for building and packaging Xamarin.iOS and Xamarin.Android apps

/// Restores NuGet packages and Xamarin Components for a project or solution
/// ## Parameters
/// - `setParams` - Function used to override the default package restore parameters
let RestorePackages (setParams: PackageRestoreParams -> PackageRestoreParams) =
Copy link
Member

Choose a reason for hiding this comment

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

couldn't you just use the existing nuget package restore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It could for the NuGet part. My original thinking as that I'd wrap both up into a single method, but now I'm thinking it probably makes sense to separate them anyway and have the method just handle components. Will update.

@gshackles
Copy link
Contributor Author

@forki Just pushed a couple updates, let me know what you think.

The existing NuGet restore helper doesn't really do proper restores in the way I'm looking for, but I can look into that separately. I updated the process helper to shell out to mono when appropriate. I tried to keep it small so hopefully there's no fallout from the change.

@forki
Copy link
Member

forki commented Aug 28, 2014

very cool. thanks

open System.Text.RegularExpressions

/// [omit]
let executeCommand command args =
Copy link
Member

Choose a reason for hiding this comment

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

could you please make this one private?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

forki added a commit that referenced this pull request Aug 28, 2014
Add some Xamarin.iOS and Xamarin.Android helpers
@forki forki merged commit 0a68065 into fsprojects:master Aug 28, 2014
@gshackles gshackles deleted the xamarin branch August 28, 2014 20:18
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