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