Skip to content

Commit

Permalink
Bundle carton.
Browse files Browse the repository at this point in the history
This was generated using 'carton fatpack' as follows:

bin/cpanm -L local-carton --with-recommends Carton
export PERL5LIB=<absolute path to local-carton>/lib/perl5/
local-carton/bin/carton fatpack

(It needs to be an absolute path in order to locate the meta files.)

This was done on a Debian squeeze box to make sure any too-old core
modules were updated and included in the bundle.
  • Loading branch information
dracos committed Sep 4, 2015
1 parent 7d8364c commit c507dbe
Show file tree
Hide file tree
Showing 2 changed files with 80,536 additions and 7 deletions.
9 changes: 2 additions & 7 deletions bin/install_perl_modules
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@ set -e

DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd | sed -e 's/\/bin$//' )"

$DIR/bin/cpanm -l $DIR/local-carton Carton

export PATH=$DIR/local-carton/bin:$PATH
export PERL5LIB=$DIR/local-carton/lib/perl5

carton install --deployment --without uk --without zurich --without open311-endpoint
$DIR/vendor/bin/carton install --deployment --without uk --without zurich --without open311-endpoint

if ! perl -MImage::Magick -e 'exit()' >/dev/null 2>&1
then
read -p "Image::Magick is not installed. Do you want to attempt to install it?" yn
case $yn in
[Yy]* ) $DIR/local-carton/bin/carton install Image::Magick;;
[Yy]* ) $DIR/vendor/bin/carton install Image::Magick;;
* ) echo 'You will need to install it for FixMyStreet to work';;
esac
fi
Loading

0 comments on commit c507dbe

Please sign in to comment.