Permalink
Browse files

[switch] Improved design of switch

This fix #106

The new commands are:

$ opam switch -install {compiler}           //to install
$ opam switch -clone {compiler}             //to clone the packages from {compiler} to the current tree
$ opam switch -remove {compiler}            //to remove a compiler
$ opam switch -reinstall {compiler}         //to reinstall a compiler
$ opam switch {compiler}                    //to switch
$ opam switch -list                         //to list all available compilers
$ opam switch -current                      //to display the current compiler
  • Loading branch information...
1 parent acc01fc commit 5632a1077eef9b7a5ef3dd15f1685943c528f578 @samoht samoht committed Sep 7, 2012
Showing with 293 additions and 233 deletions.
  1. +217 −195 src/client.ml
  2. +20 −9 src/client.mli
  3. +2 −2 src/file.ml
  4. +1 −1 src/file.mli
  5. +46 −20 src/opam.ml
  6. +7 −6 tests/Makefile
Oops, something went wrong.

0 comments on commit 5632a10

Please sign in to comment.