App-mkpkgconfig
view release on metacpan or search on metacpan
utils/packit view on Meta::CPAN
if (( ${#EXTRAS[*]} )); then
cpm install "${CPM_OPTS[@]}" "${EXTRAS[@]}"
fi
}
cpm () {
local exe=packer/bin/cpm
if [ ! -x $exe ]; then
curl -fsSL --compressed https://git.io/cpm -o $exe
chmod +x $exe
fi
unset -f cpm
cpm "$@"
}
fatpack-simple () {
if [ ! -f $PWD/packer/bin/fatpack-simple ]; then
cpm install -L packer App::FatPacker::Simple
fi
unset -f fatpack-simple
utils/packit view on Meta::CPAN
exclude=$(IFS=,; echo "${exclude[*]}")
fatpack-simple \
--exclude $exclude \
--dir $PWD/local,$DIR/lib \
-o $DIR/$EXE $DIR/script/$EXE |& tee pack.log
perl -i.bak -pe 's{/usr/bin/perl}{/usr/bin/env perl}' $DIR/$EXE
rm -f $DIR/$EXE.bak
chmod +x $DIR/$EXE
}
all () {
install
pack
}
DIR=./
USEPERL=$(plenv version)
while getopts d:p: arg ; do
( run in 0.252 second using v1.01-cache-2.11-cpan-496ff517765 )