Skip to content

kevinkyyro/sbtenv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbtenv

Build Status

Groom your sbt environment.

Do you need Scala version management?
Please refer to scalaenv in the case of use Scala.

Installation

  1. git clone sbtenv into ~/.sbtenv.

    $ git clone git://github.com/sbtenv/sbtenv.git ~/.sbtenv
  2. Add ~/.sbtenv/bin to your $PATH for access to the sbtenv command.

    $ echo 'export PATH="${HOME}/.sbtenv/bin:${PATH}"' >> ~/.zshrc
  3. Add sbtenv init to your shell to enable shims and autocompletion.

    $ echo 'eval "$(sbtenv init -)"' >> ~/.zshrc

    Bash note: Modify your ~/.bash_profile file instead of ~/.zshrc.

  4. Restart your shell so that PATH changes take effect. (Opening a new terminal tab will usually do it.) Now check if sbtenv was set up:

    $ type sbtenv
    #=> "sbtenv is a shell function"

    Same as in previous step, use ~/.bash_profile for Bash.

  5. Install each version of sbt.

    $ sbtenv install sbt-0.13.1

    If show all available version, please use the following command:

    $ sbtenv install -l
    All available versions:
    sbt-0.12.1
    sbt-0.12.2
    sbt-0.12.3
    ...

    If want to install manually, please download sbt archive and extract into ~/.sbtenv/versions/.

    $ curl -LO http://repo.scala-sbt.org/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.1/sbt.tgz
    $ mkdir -p ~/.sbtenv/versions/sbt-0.13.1
    $ tar xf sbt.tgz -C ~/.sbtenv/versions/sbt-0.13.1/

Version History

0.0.15 (Jul 11, 2018)

0.0.14 (Mar 03, 2018)

  • Added sbt 1.0.0 - sbt 1.1.1
  • Added sbt 0.13.16 - sbt 0.13.17

0.0.13 (Jun 27, 2017)

  • Added sbt 0.13.15
  • Added sbt 0.13.14
  • Fixed an issue with sbt distributions with non-standard folders ( Thanks @j1mr10rd4n )

0.0.12 (Dec 26, 2016)

  • Added sbt 0.13.13

0.0.11 (Aug 24, 2016)

  • Added sbt 0.13.12

0.0.10 (Mar 16, 2016)

  • Added sbt 0.13.11

0.0.9 (Aug 25, 2015)

  • Added sbt 0.13.6 - sbt 0.13.9
    Many thanks to @alexanderscott

0.0.8 (Aug 06, 2014)

  • Added recipe for sbt 0.13.5 to sbt-install built-in plugin.

0.0.7 (May 24, 2014)

  • Improved version management: will apply version, if there is a build.properties file.
  • Fixed a bug when run versions subcommand.

0.0.6 (Apr 15, 2014)

  • Added recipe for sbt 0.13.2 to sbt-install built-in plugin.

0.0.5 (Mar 25, 2014)

  • Improved installation instruction by sbt-install built-in plugin.

0.0.4 (Mar 14, 2014)

  • Added Travis CI status badge on README.
  • Fixed a bug when run rehash subcommand.
  • Fixed version string.

0.0.3 (Mar 06, 2014)

  • Fixed minor bugs.

0.0.2 (Mar 04, 2014)

  • Added completions for Z shell and Bash.

0.0.1 (Jan 30, 2014)

  • Initial public release.

About

Groom your sbt environment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 88.5%
  • Roff 11.5%