source: devel/pbtest/bin/pbsyncheck @ 2279

Last change on this file since 2279 was 2279, checked in by bruno, 23 months ago

YAML support working for most distros

  • Fix rebase issues
  • Adds a pbsyncheck script for pre-commit check
  • Fix test deps for centos & fedora
  • update pbcl versions for deb build
  • Property svn:executable set to *
File size: 294 bytes
Line 
1#!/bin/bash -f
2
3VER=devel
4PRJDIR=`pbgetparam -p pb pbprojdir | perl -pe 's/(\$ENV.+\})/$1/eeg'`
5for i in `find $PRJDIR/$VER -name '*.pm' -o -name '*.t' -o -name 'pb*' -a ! -name '*~'`;
6do
7    file $i | grep -qi perl
8    if [ $? -eq 0 ]; then
9        perl -c $i 2>&1 | grep -v ' OK'
10    fi
11done
Note: See TracBrowser for help on using the repository browser.