-
Notifications
You must be signed in to change notification settings - Fork 587
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
Conversation
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.
Some small thing
/// | ||
/// - `setParams` - Function used to manipulate the default parameters. | ||
let Push setParams = | ||
let parameters : PaketPushParams = PaketPushDefaults() |> setParams |
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.
This is unused?
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 think we can just remove this line.
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.
This is used to get the WorkingDir
for the globbing pattern below.
I can change the functions so we don't evaluate setParams
twice.
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.
Oh wow apparently I'm blind, thanks ;)
So you suggest to (fun _ -> parameters)
, correct? Yes we can do that.
Thanks! |
A function to push certain packages, not every package in the working directory.
871dc62
to
394e44b
Compare
I rebased my branch on top of master. As of me, this is ready. |
Yep looks good, thanks. |
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
.