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

Using paket wrapper as local tool, it doesn't issue command #2414

Closed
TheAngryByrd opened this issue Oct 21, 2019 · 1 comment
Closed

Using paket wrapper as local tool, it doesn't issue command #2414

TheAngryByrd opened this issue Oct 21, 2019 · 1 comment

Comments

@TheAngryByrd
Copy link
Contributor

TheAngryByrd commented Oct 21, 2019

Description

When trying to use paket wrapper as a localtool, it doesn't seem to add the actual command to the shell.

Repro steps

Please provide the steps required to reproduce the problem

For example given this code (this can also be reproduced with restore instead of push):

    Paket.push(fun c ->
        { c with
            ToolType = ToolType.CreateLocalTool()
            PublishUrl = publishUrl
            WorkingDir = "dist"
        }
    )

This shells out with this output:

dist> "/usr/local/share/dotnet/dotnet" paket --url https://www.nuget.org MyLibrary/dist/MyLibrary.1.0.1.0.nupkg (In: false, Out: false, Err: false)
ERROR: unrecognized argument: '--url'.

Expected behavior

It should also have push in the output. so:

dist> "/usr/local/share/dotnet/dotnet" paket push --url https://www.nuget.org MyLibrary/dist/MyLibrary.1.0.1.0.nupkg

Actual behavior

dist> "/usr/local/share/dotnet/dotnet" paket --url https://www.nuget.org MyLibrary/dist/MyLibrary.1.0.1.0.nupkg (In: false, Out: false, Err: false)
ERROR: unrecognized argument: '--url'.

Known workarounds

n/a

Related information

  • Operating system
  • Branch
  • .NET Runtime, CoreCLR or Mono Version
  • Indications of severity
  • Version of FAKE (4.X, 5.X)
  • (if performance issue) Performance information, links to performance testing scripts
@matthid
Copy link
Member

matthid commented Oct 21, 2019

Yes an unfortunate duplicate of #2411, I'm working on it

@matthid matthid closed this as completed Oct 21, 2019
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

No branches or pull requests

2 participants