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

Fix for paket pack (add mandatory output parameter) #2418

Merged
merged 2 commits into from
Oct 24, 2019

Conversation

sergey-tihon
Copy link
Member

Description

Please give a brief explanation about your change.

build_fsx_--_FsLexYacc

TODO

Feel free to open the PR and ask for help

  • New (API-)documentation for new features exist (Note: API-docs are enough, additional docs are in help/markdown)

  • unit or integration test exists (or short reasoning why it doesn't make sense)

    Note: Consider using the CreateProcess API which can be tested more easily, see https://github.com/fsharp/FAKE/pull/2131/files#diff-4fb4a77e110fbbe8210205dfe022389b for an example (the changes in the DotNet.Testing.NUnit module)

  • boy scout rule: "leave the code behind in a better state than you found it" (fix warnings, obsolete members or code-style in the places you worked in)

  • (if new module) the module has been linked from the "Modules" menu, edit help/templates/template.cshtml, linking to the API-reference is fine.

  • (if new module) the module is in the correct namespace

  • (if new module) the module is added to Fake.sln (dotnet sln Fake.sln add src/app/Fake.*/Fake.*.fsproj)

  • Fake 5 API guideline is honored

@@ -144,6 +144,7 @@ let internal createProcess (runType:StartType) =
|> Arguments.appendIf parameters.IncludeReferencedProjects "--include-referenced-projects"
|> List.foldBack (fun t -> Arguments.append ["--exclude"; t]) parameters.ExcludedTemplates
|> List.foldBack (fun (id, v) -> Arguments.append ["--specific-version"; id; v]) parameters.SpecificVersions
|> Arguments.append [parameters.OutputPath]
Copy link
Member

Choose a reason for hiding this comment

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

Is it ok to put it at the end? (I don't recall what append does but I think it adds to the end)

Copy link
Member Author

Choose a reason for hiding this comment

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

I also hope that it is added to the end =)
I checked docs https://fsprojects.github.io/Paket/paket-pack.html
and find out that it should last param
paket_pack

@matthid matthid merged commit deb0cad into fsprojects:release/next Oct 24, 2019
@matthid
Copy link
Member

matthid commented Oct 24, 2019

Thanks!

@sergey-tihon sergey-tihon deleted the fix-paket-pack branch October 24, 2019 20:43
@matthid matthid mentioned this pull request Oct 26, 2019
matthid added a commit that referenced this pull request Oct 26, 2019
* NEW: Add `Fake.DotNet.Testing.Coverlet`, thanks @Tarmil - #2413
* BUGFIX: `paket pack` module was broken, thanks @sergey-tihon - #2418
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