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

"fake build" alias for "fake run" #1569

Closed
matthid opened this issue May 28, 2017 · 4 comments
Closed

"fake build" alias for "fake run" #1569

matthid opened this issue May 28, 2017 · 4 comments

Comments

@matthid
Copy link
Member

matthid commented May 28, 2017

Description

We have now the fake.build website. So we should make fake build a thing.

@rmunn
Copy link
Contributor

rmunn commented May 29, 2017

Another thought: if multiple verbs are added to FAKE in the future, it's possible that one or more of them may end up conflicting with someone's target name in their pre-existing build.fsx. E.g., they may have a target named test, lowercase, which would conflict with a hypothetical future fake test verb.

If more verbs are added to FAKE, it would probably be good to document how to run them, e.g. "If you already have a task named build, you can run it with fake run build."

@matthid
Copy link
Member Author

matthid commented May 29, 2017

In fake 5 we currently have no shortcut syntax, so we currently don't have this problem. You always have to write fake run at the moment...
But yeah if we decide to add shortcuts we inherit this problem.

@matthid
Copy link
Member Author

matthid commented Jan 28, 2018

I think fake build should be an alias for fake run build.fsx (including the default name build.fsx) this way the most common use-case is more natural. The positional (optional) argument can be the "target".

@matthid
Copy link
Member Author

matthid commented Feb 3, 2018

Implemented in #1770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants