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

Publish as dotnet cli tool #88

Open
nojaf opened this issue Mar 14, 2018 · 7 comments
Open

Publish as dotnet cli tool #88

nojaf opened this issue Mar 14, 2018 · 7 comments

Comments

@nojaf
Copy link

nojaf commented Mar 14, 2018

It be nice if Mechanic was available as clitool.
Running dotnet mechanic would format the fsproj in the current folder.
Or show a help page if no (single) fsproj is found in the current directory.
This way other editors than vscode could easily integrate Mechanic.

@forki
Copy link
Member

forki commented Mar 14, 2018

marked it up-for-grabs. /cc @enricosada for mentoring

@jichang
Copy link
Contributor

jichang commented Mar 17, 2018

I'd like to solve this one, Do I need to create a new project or I can just modify Mechanic.CommandLine?

@forki
Copy link
Member

forki commented Mar 17, 2018

Whatever you think is best

@nojaf
Copy link
Author

nojaf commented Mar 26, 2018

Could this be published on nuget?

@forki
Copy link
Member

forki commented Mar 26, 2018

yes but someone needs to send PR with release process in build.fsx

@sparebytes
Copy link

I'm new to F# and it's ecosystem. I'm attempting to add a "PublishToNuget" target but I'm having dependency/paket issues. Maybe it's because I have dotnet core 3 preview installed.

As soon as I add nuget Fake.DotNet.Nuget prerelease to the paket.dependencies and run ./.paket/paket.exe install, the lock file is drastically changed. Any attempts to run fake build thereafter fail. Even if I remove the dependency and re-run paket it still fails.

Then I removed all the prelease from all the dependencies and was able to get the build.fsx working after fixing deprecations but I'm still not able to open Fake.DotNet.Nuget without Error FS0039: The namespace 'Nuget' is not defined.

https://github.com/sparebytes/Mechanic

@jindraivanek
Copy link
Contributor

@sparebytes long time that packages was update here. prerelease should be definitely removed, it is there because FAKE 5 was in prerelease back then.

Ofc, best thing will be to update whole project to new packages, but there will be for sure bunch of problems..

I think best way forward for now is to update just Build group of packages with paket update -g Build.

See master...jindraivanek:update where I did that + few other minor things. Its building for me.

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

5 participants