Skip to content

Update Fake.Tools.Pickles - #2133

Merged
matthid merged 4 commits into
fsprojects:release/nextfrom
magicmonty:Pickles
Oct 12, 2018
Merged

matthid merged 4 commits into
fsprojects:release/nextfrom
magicmonty:Pickles

Conversation

@magicmonty

Copy link
Copy Markdown
Contributor

Description

Pickles has gotten some additional command line parameters
I added them and updated the command line generation from a StringBuilder to
Args.toWindowsCommandLine

TODO

  • New (API-)documentation for new features exist
  • tested manually
  • Fake 5 API guideline is honored

@magicmonty
magicmonty force-pushed the Pickles branch 4 times, most recently from 3e25f6c to 6ebc433 Compare October 12, 2018 06:55
@magicmonty

Copy link
Copy Markdown
Contributor Author

@matthid Added unit tests and fixed the resulting bugs ;)

@matthid

matthid commented Oct 12, 2018

Copy link
Copy Markdown
Member

Tried to fix on the phone but I failed :(

let expectedPath = Path.Combine("pickles", "pickles.exe")
Expect.equal file expectedPath "Expected pickles.exe"

expectedPath, cp.Command.CommandLine

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this needs to use the 'args' variable and not 'cp' in order to work with mono environments...

I think '(RawCommand(file, args)).CommandLine' should work

Can you please change the other ones as well, this should make the build green again

@magicmonty

Copy link
Copy Markdown
Contributor Author

@matthid It seems now to work except for that the check for mono fails, if there are no arguments at all

@matthid

matthid commented Oct 12, 2018

Copy link
Copy Markdown
Member

Ah yes, thanks for taking care of this!

matthid
matthid previously approved these changes Oct 12, 2018
@magicmonty

Copy link
Copy Markdown
Contributor Author

@matthid Yay, Travis is now green too ;)

@matthid
matthid merged commit 6514d38 into fsprojects:release/next Oct 12, 2018
@matthid

matthid commented Oct 12, 2018

Copy link
Copy Markdown
Member

Yes thanks a lot :)

@magicmonty
magicmonty deleted the Pickles branch October 12, 2018 15:53
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