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

How to package leiningen? #2

Open
winks opened this issue Dec 13, 2016 · 1 comment
Open

How to package leiningen? #2

winks opened this issue Dec 13, 2016 · 1 comment

Comments

@winks
Copy link
Member

winks commented Dec 13, 2016

The helpful folks at chocolatey.org have recommended that we can package the software -as is- up to a size of ~150MB as we are the vendor.

Right now I am just trying to get a 2.7 release out on chocolatey as there was a 2.2 on it (from 2013).

So I see three possibilities from now on:

  1. continue with a PowerShell script that downloads the .bat which in turn does lein self-install
    • easiest for now, as I just adapted the code that was already there
  2. package the lein.bat that comes with the release (i.e. 2.7.2 or 2.8.0) and then run lein self-install (I think I prefer this one)
    • looks like the "least deviating way" - we just ship lein.bat differently
    • a bit more work, needs downloading the new lein.bat every release
  3. package lein.bat AND the jar (right now it's just under 15MB)
    • it's a proper "release" or "package" on a different channel, like a .deb
    • needs downloading the new lein.bat and .jar every release
    • would probably include a lot of binary blobs in this repo.
    • it's more work to develop (but only slightly more than 2.)
    • it's more work to maintain (but only slightly more than 2.)
@hypirion
Copy link
Member

hypirion commented Dec 13, 2016

I think I would prefer 2. to keep the bundle smaller, but 3. is fine too (This is what we do for SDKMAN!, and seems to be a common "requirement"). If we can just invoke a script then it doesn't matter either way.

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