Skip to content

Distribute as global package #1

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

Open
dazinator opened this issue Oct 10, 2018 · 6 comments
Open

Distribute as global package #1

dazinator opened this issue Oct 10, 2018 · 6 comments
Labels
enhancement New feature or request

Comments

@dazinator
Copy link

Hi, this looks fantastic.

Please consider publishing warp as:

  • chocolatey package
  • npm package
  • dotnet cli global tool

That way, it will be easier for some folks to obtain the tool and keep track of updates when you issue new versions. It will also automatically be put on the PATH if desired by the user!

@RichiCoder1
Copy link

Considering the target for this, a dotnet cli global tool makes a ton of sense.

@phrohdoh
Copy link

Some, hopefully helpful, resources:

https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools-how-to-create
NuGet/Home#6645

@dgiagio
Copy link
Owner

dgiagio commented Oct 10, 2018

Sounds like a good idea to have a dotnet CLI global tool. It could probably be just a simple wrapper on top of the existing warp-packer tool as it's portable enough.

@dgiagio dgiagio added the enhancement New feature or request label Oct 10, 2018
@Calinou
Copy link

Calinou commented Oct 13, 2018

Just a heads up, warp was added to Scoop: ScoopInstaller/Scoop#2669 😃

@Hubert-Rybak
Copy link

Hubert-Rybak commented Jan 8, 2019

I created .NET CLI global tool, which is a wrapper around Warp and ILLink.Tasks for optional assembly stripping before packing, maybe someone would be interested:
https://www.nuget.org/packages/dotnet-warp/

@CoolOppo
Copy link

CoolOppo commented Jan 21, 2019

I disagree with the dotnet core global tool idea. You could easily just distribute this using cargo. Dotnet global tools require you to have dotnet core installed to use them anyways, and it's just another step every time you want to release a new build of warp. If you use cargo, everyone can install it on all platforms with cargo install and it's the tool designed to be used for this specific purpose a lot of the time (rust program binaries). I would much rather prefer taking that route as opposed to having one package on tons of different package managers that are all out of sync.

Edit: another thing with dotnet global tools is that they are SLOW... It takes far longer to invoke them for some reason. Maybe that's only for tools that are actual CLR exes and not native exes though, so I could be wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants