Skip to content

Instantly share code, notes, and snippets.

@jeffa
Created July 2, 2024 21:01
Show Gist options
  • Save jeffa/4b0cdb9270fe2cf34794c3a85cbff900 to your computer and use it in GitHub Desktop.
Save jeffa/4b0cdb9270fe2cf34794c3a85cbff900 to your computer and use it in GitHub Desktop.
Builds Jenkins Project (Perl)
#!/usr/bin/sh
if [ -n "$1" ]; then
DIST="$1"
else
DIST="$CPAN_DISTRIBUTION"
fi
rm -f *.tar.gz
rm -rf ./$DIST
git clone git@github.com:jeffa/$DIST.git
cd $DIST
perl Makefile.PL
make
make test
make manifest
make tardist
mv $DIST-*.tar.gz ..
mv MANIFEST ../MANIFEST.txt
make veryclean
prove -rlj6 --formatter=TAP::Formatter::JUnit --timer t/| tee ../junit.xml
@jeffa
Copy link
Author

jeffa commented Jul 2, 2024

wget -O - https://tinyurl.com/mpvspxat | CPAN_DISTRIBUTION=Spreadsheet-HTML sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment