Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of Leiningen - Clojure Project Automation available.

Leiningen - Clojure Project Automation

2.7.1

Package test results have failed.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator ferventcoder on 12/16/2016.

Leiningen is for automating Clojure projects without setting your hair on fire.

It offers various project-related tasks and can:

  • create new projects
  • fetch dependencies for your project
  • run tests
  • run a fully-configured REPL
  • compile Java sources (if any)
  • run the project (if the project isn't a library)
  • generate a maven-style "pom" file for the project for interop
  • compile and package projects for deployment
  • publish libraries to repositories such as Clojars
  • run custom automation tasks written in Clojure (leiningen plug-ins)

If you come from the Java world, Leiningen could be thought of as "Maven meets Ant without the pain". For Ruby and Python folks, Leiningen combines RubyGems/Bundler/Rake and pip/Fabric in a single tool.

To install Leiningen - Clojure Project Automation, run the following command from the command line or from PowerShell:

C:\> choco install lein --version 2.7.1

To upgrade Leiningen - Clojure Project Automation, run the following command from the command line or from PowerShell:

C:\> choco upgrade lein --version 2.7.1

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $package = 'Leiningen'
    $version = '2.7.1'
    
    $url = "https://github.com/technomancy/leiningen/raw/$version/bin/lein.bat"
    
    $batDir = Join-Path $Env:ChocolateyInstall 'bin'
    $lein = Join-Path $batDir 'lein.bat'
    
    Write-Host "Downloading from $url"
    
    # Download from an HTTPS location
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    Get-ChocolateyWebFile -PackageName "$package" -FileFullPath "$lein" -Url "$url"
    Write-Host "Download from $url complete"
    
    Write-Host "Executing bootstrap script from $batDir"
    # $batDir is already in PATH
    lein self-install
    lein
    lein version
    
  • tools\chocolateyUninstall.ps1 Show
    $package = 'Leiningen'
    $version = '2.7.1'
    
    $installDir = Join-Path $Env:USERPROFILE '.lein'
    if (Test-Path $installDir)
    {
      Remove-Item $installDir -Recurse -ErrorAction SilentlyContinue
    }
    
    $batDir = Join-Path $Env:ChocolateyInstall 'bin'
    $lein = Join-Path $batDir 'lein.bat'
    if (Test-Path $lein)
    {
      Remove-Item $lein -ErrorAction SilentlyContinue
    }
    Write-Host "Uninstalling $package $version complete."

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Phil Hagelberg
  • Alex Osborne
  • Dan Larkin
  • and contributors

Tags

Release Notes

2.7.1

  • Took over maintenance
  • Bumped version to Leiningen 2.7.1
  • removed curl dependency
  • updated nuspec according to chocolatey guidelines

Version History

Version Downloads Last updated Status
Leiningen - Clojure Project Automation 2.9.0 306 Monday, February 11, 2019 approved
Leiningen - Clojure Project Automation 2.8.3 612 Sunday, December 16, 2018 approved
Leiningen - Clojure Project Automation 2.8.1 7514 Saturday, October 28, 2017 approved
Leiningen - Clojure Project Automation 2.7.1.20170914 448 Wednesday, September 13, 2017 approved
Leiningen - Clojure Project Automation 2.7.1 1289 Tuesday, December 13, 2016 approved
Leiningen - Clojure Project Automation 2.2.0 3371 Thursday, June 6, 2013 approved

Discussion for the Leiningen - Clojure Project Automation Package

Ground rules:

  • This discussion is only about Leiningen - Clojure Project Automation and the Leiningen - Clojure Project Automation package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Leiningen - Clojure Project Automation, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok