public
Description: Utilities for creating and managing multiple clojure environments
Homepage:
Clone URL: git://github.com/offbytwo/cljenv.git
cosmin (author)
Thu Jun 25 13:57:00 -0700 2009
commit  0dd3fff0683f35d3d5b9fb50aba9d51165447e7a
tree    e5e1eb75ea9d344d8531671b769386c87d90ef0f
parent  dcc767f794666c4c6f15fdec71a79714f2e68982
cljenv /
name age message
file .gitmodules Fri Jun 05 00:56:36 -0700 2009 added clojure-mode and swank-clojure externals [cosmin]
file README Loading commit data...
directory bin/
file default_cljenv Fri Jun 05 00:57:10 -0700 2009 added CLJENV_ROOT variable that is available to... [cosmin]
directory emacs/
file epl-v10.html Thu Jun 04 22:44:45 -0700 2009 added the text to the epl-v10 license [cosmin]
directory lib/ Thu Jun 04 22:44:18 -0700 2009 added clojure 1.0 jar [cosmin]
file update-externals.sh
README
CLJENV

Installation:

  To start using CLJENV you just have to source the bin/source file.
  Currently only BASH 3 or later or ZSH are supported.

Default environments:

  USER: $HOME/.cljenv
  SYSTEM: /etc/cljenv/system_cljenv
  DEFAULT: /path/to/installation/folder/default_cljenv

Activating an environment:

  cljenv_autostart # activate the first environment of USER, SYSTEM, DEFAULT
  cljenv_autostart NOPS1 # activate the first env, but surpress PS1 modification

  cljenv_user # activate the user environment
  cljenv_system # activate the system environment
  cljenv_default # actiavte the default environment

  # use the following commmands to activate environments you create (see below)

  cljenv_activate # activate the environment in the current directory
  cljenv_activate path/to/env/folder # activate the given environment

Creating a new environment:

  cljenv_create # create a new environment in the current folder
  cljenv_create path_to_folder # create a new environment in the given folder

  After running cljenv_create edit the .cljenv file in either the current or
  specified folders to set your options for java, clojure, and clojure-contrib

Deactivating an environment:

  cljenv_deactivate # deactivate the currently active environment