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 Paket helper to push specific files #1665

Merged
merged 4 commits into from
Sep 22, 2017

Conversation

inosik
Copy link
Contributor

@inosik inosik commented Sep 18, 2017

This adds a Paket.PushFiles task, which can be used to push specific packages.

Currently the parameters get evaluated twice, is this OK?

I also added a missing assignment to ProcessStartInfo.WorkingDirectory.

Copy link
Member

@matthid matthid left a comment

Choose a reason for hiding this comment

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

Some small thing

///
/// - `setParams` - Function used to manipulate the default parameters.
let Push setParams =
let parameters : PaketPushParams = PaketPushDefaults() |> setParams
Copy link
Member

Choose a reason for hiding this comment

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

This is unused?

Copy link
Member

Choose a reason for hiding this comment

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

I think we can just remove this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is used to get the WorkingDir for the globbing pattern below.

I can change the functions so we don't evaluate setParams twice.

Copy link
Member

Choose a reason for hiding this comment

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

Oh wow apparently I'm blind, thanks ;)

So you suggest to (fun _ -> parameters), correct? Yes we can do that.

@matthid
Copy link
Member

matthid commented Sep 18, 2017

Thanks!

@inosik inosik force-pushed the paket-helper/push-files branch from 871dc62 to 394e44b Compare September 19, 2017 05:34
@inosik
Copy link
Contributor Author

inosik commented Sep 19, 2017

I rebased my branch on top of master. As of me, this is ready.

@matthid
Copy link
Member

matthid commented Sep 22, 2017

Yep looks good, thanks.

@matthid matthid merged commit a517642 into fsprojects:master Sep 22, 2017
@inosik inosik deleted the paket-helper/push-files branch September 25, 2017 06:34
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