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

Impossible to specify <custombuild>.fsx for dotnet fake.dll #1774

Closed
pkese opened this issue Jan 31, 2018 · 3 comments
Closed

Impossible to specify <custombuild>.fsx for dotnet fake.dll #1774

pkese opened this issue Jan 31, 2018 · 3 comments

Comments

@pkese
Copy link

pkese commented Jan 31, 2018

Description

When running dotnet fake.dll it is not possible to specify which .fsx file Fake should use.

Repro steps

>dotnet .\some-path\fake.dll build2.fsx mytarget
ERROR: unrecognized argument: 'build2.fsx'.
USAGE: fake [--help] [--version] [--verbose] [<subcommand> [<options>]]

Expected behavior

Fake would source and run build2.fsx as specified on command line.

Actual behavior

See above

Known workarounds

Have single build.fsx file

Related information

  • Operating system: Windows 10
  • Branch: 5.0.beta-12
  • .NET Runtime, CoreCLR or Mono Version: netcore 2.0.x
@matthid
Copy link
Member

matthid commented Jan 31, 2018

Note that the command line has been changed in the new runner: https://fake.build/fake-commandline.html

@pkese
Copy link
Author

pkese commented Jan 31, 2018

Oh. I see. Thanks.
Apparently I've missed this document altogether.

I think the previous approach was more elegant (and run seems not to serve much purpose), but I really like the fact that one can pass along normal '--' args.

@pkese pkese closed this as completed Jan 31, 2018
@matthid
Copy link
Member

matthid commented Feb 1, 2018

Not sure I get the feedback. imho the old syntax has lots of ambiguities while the new one is straight forward unix default. So any suggestions are welcome but I don't know what you like to see improved. related: #1569

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