Created
July 2, 2024 21:01
-
-
Save jeffa/4b0cdb9270fe2cf34794c3a85cbff900 to your computer and use it in GitHub Desktop.
Builds Jenkins Project (Perl)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
if [ -n "$1" ]; then | |
DIST="$1" | |
else | |
DIST="$CPAN_DISTRIBUTION" | |
fi | |
rm -f *.tar.gz | |
rm -rf ./$DIST | |
git clone [email protected]: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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget -O - https://tinyurl.com/mpvspxat | CPAN_DISTRIBUTION=Spreadsheet-HTML sh