ndmitchell / neil

General tools for Neil
Other
38 stars 16 forks source link

feat: `run.sh` can now accept release version #57

Closed KristianBalaj closed 1 year ago

KristianBalaj commented 1 year ago

Resolves https://github.com/ndmitchell/neil/issues/47

Backward compatibility of the run.sh doesn't change, it can still be run the following:

curl -sSL https://raw.github.com/ndmitchell/neil/master/misc/run.sh | sh -s -- hlint .

But now, optionally a version of the package can be specified (otherwise latest is picked):

curl -sSL https://raw.github.com/ndmitchell/neil/master/misc/run.sh | sh -s -- hlint@3.4.1 .

NOTE: When there's a minor version, that one is picked instead. I.e. if I would specify hlint@3.4 the hlint@3.4.1 would be picked

KristianBalaj commented 1 year ago

Now it should be ready

ndmitchell commented 1 year ago

Thanks! This is really cool