source: tags/1.6.0/ci/install-jenv.bash

Last change on this file was 15183, checked in by Mark Evenson, 4 years ago

ci: more fixes for jenv installation

File size: 379 bytes
Line 
1#!/usr/bin/env bash
2
3target=~/.jenv
4
5if [[ ! -r "${target}" ]]; then 
6    git clone https://github.com/jenv/jenv.git "${target}"
7fi
8
9# FIXME: don't always run the init routines?
10profile=~/.bash_profile
11echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ${profile}
12echo 'eval "$(jenv init -)"' >> ${profile}
13. ${profile}
14
15jenv enable-plugin ant
16jenv enable-plugin maven
17
18jenv doctor
19
20
Note: See TracBrowser for help on using the repository browser.