Update of /cvsroot/boost/boost/tools/inspect
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20264/tools/inspect

Added Files:
        run_inspect.sh 
Log Message:
Script to automate running inspect on the Boost/OSL server.

--- NEW FILE: run_inspect.sh ---
#!/bin/sh

#~ Copyright Rene Rivera 2006.
#~ Distributed under the Boost Software License, Version 1.0.
#~ (See accompanying file LICENSE_1_0.txt or copy at
#~ http://www.boost.org/LICENSE_1_0.txt)

set -e

#~ Configuration options.
mail_to="Rene Rivera <[EMAIL PROTECTED]>"
#~ mail_to="Boost <[email protected]>"
cvs_branch="$1"
cvs_user=":ext:${USER}"
cvs_co="cvs -q -z9 [EMAIL PROTECTED]:/cvsroot/boost co -P -r ${cvs_branch}"
cvs_dir="${HOME}/devroots"

#~ Build bjam.
cd ${cvs_dir}
${cvs_co} -d boost_jam_src boost/tools/jam/src
cd boost_jam_src
LOCATE_TARGET=bin sh ./build.sh

#~ Build inspect.
cd ${cvs_dir}
${cvs_co} -d boost_${cvs_branch} boost
cd boost_${cvs_branch}/tools/inspect/build
${cvs_dir}/boost_${cvs_branch}/tools/jam/src/bin/bjam --v2

#~ Run the inspection.
cd ${cvs_dir}
cd boost_${cvs_branch}
./dist/bin/inspect --cvs -license -copyright -crlf -link -long_name -tab 
-minmax > inspect-out.txt

#~ Send email with results.
mail_date=`date --iso-8601 --utc`
cat <<EMAIL
From: Rene Rivera <[EMAIL PROTECTED]>
To: %{mail_to}
Reply-To: Boost <[email protected]>
Subject: Boost inspection notification (${mail_date}/${cvs_branch})

EMAIL
  inspect-out.txt | /usr/sbin/sendmail "${mail_to}"



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to