Skip to content

Instantly share code, notes, and snippets.

@Songmu
Created May 9, 2014 10:18
Show Gist options
  • Select an option

  • Save Songmu/f469ea29c14336c27f81 to your computer and use it in GitHub Desktop.

Select an option

Save Songmu/f469ea29c14336c27f81 to your computer and use it in GitHub Desktop.
#!/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