Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: command-line-a…
Fetching contributors…

Cannot retrieve contributors at this time

executable file 31 lines (25 sloc) 0.428 kb
#!/bin/sh -ex
PREFIX=$1
OPAM=$HOME/opam-bin/$PREFIX/bin/opam
ROOT=`echo /x/${JOB_NAME} | sed -e "s,=,_,g" -e "s/,/-/g"`
rm -rf ${ROOT}
case "${compiler}" in
system4)
export PATH=/x/ocaml-4.00.1/bin:$PATH
;;
esac
export OPAMROOT=$ROOT
export OPAMYES=1
export OPAMVERBOSE=1
$OPAM init $2
$OPAM config list
case "${compiler}" in
system)
;;
system4)
;;
*)
$OPAM switch ${compiler}
;;
esac
$OPAM install ${packages}
Jump to Line
Something went wrong with that request. Please try again.