/[Frey]/trunk/bin/dev.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/bin/dev.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations)
Wed Nov 26 07:57:12 2008 UTC (15 years, 4 months ago) by dpavlin
File MIME type: application/x-sh
File size: 276 byte(s)
refactor Frey::Boostrap from Frey::Server to have correct warn handling

- we now use File::Tee to capture STDERR to file and display that
  (with filtering) for display
- added FREY_NO_LOG enviroment variable to disable logging (for perl -c)
- move all warnings handling into Frey::Web->warnings_html
- make Frey->debug Int (this touched a bunch of tests)
1 #!/bin/sh
2
3 server=./bin/continuity-server.pl
4
5 dir=var/log
6 test -d $dir || mkdir -v $dir || exit
7
8 while true ; do
9 FREY_NO_LOG=1 perl -c $server || exit
10 test -f log && mv -v log $dir/dev.`ls $dir/dev* | wc -l`
11 DISPLAY= FREY_RESTART=1 $server # 2>&1 | tee -a log | ccze -A
12 done
13

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26