Created
May 9, 2014 10:18
-
-
Save Songmu/f469ea29c14336c27f81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # 開発用にプロジェクト用のperlをbuildするやつです | |
| set -e | |
| cd $(dirname $0) | |
| MYPROJ_PERL='perl518-myproj' | |
| if [[ $(plenv versions | grep "$MYPROJ_PERL") ]] ; then | |
| echo "$MYPROJ_PERL already installed" | |
| else | |
| plenv install 5.18.2 --as=$MYPROJ_PERL -DDEBUGGING=-g -j 4 | |
| echo $MYPROJ_PERL > .perl-version | |
| plenv rehash | |
| plenv install-cpanm | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment