#!/bin/bash # Install dependencies cpan -v 2>&1 > /dev/null if [[ $? == 0 ]]; then echo "Installing dependencies" cpan -Ti Class::MOP Class::Accessor Log::Log4perl Curses File::Slurp FFI::Platypus PAR::Packer App::Packer::PAR File::Path Filter::Simple else echo "CPAN utility not found, please install it and re-run this script" exit 1 fi # 'Build' the module # Run tests prove .