I'm having trouble getting this working as I want it to.
--- commitinfo ---
pl$ $CVSROOT/CVSROOT/commit-perl.bash
pm$ $CVSROOT/CVSROOT/commit-perl.bash
PL$ $CVSROOT/CVSROOT/commit-perl.bash
--- commit-perl.bash ---
#!/bin/bash
perl -c $1 || exit 1
perltidy -b $1 || exit 1
--- sample.pl ---
#!/usr/bin/perl
my $test = '";
I am still allowed to commit sample.pl, even though I shouldn't be. Any suggestions.
Also I would like to run tests locally (ie not on server). Can this be done?.
--tidiness is the memory loss of environmental mnemonics
|