Adding PHPUnit tests
[viewsvn.git] / update.sh.php
1 #!/usr/bin/php
2 <?php
3 /*=====================================================================*\
4 || ###################################################################
5 || # ViewSVN [#]version[#]
6 || # Copyright ©2002-[#]year[#] Iris Studios, Inc.
7 || #
8 || # This program is free software; you can redistribute it and/or modify
9 || # it under the terms of the GNU General Public License as published by
10 || # the Free Software Foundation; version [#]gpl[#] of the License.
11 || #
12 || # This program is distributed in the hope that it will be useful, but
13 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 || # more details.
16 || #
17 || # You should have received a copy of the GNU General Public License along
18 || # with this program; if not, write to the Free Software Foundation, Inc.,
19 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
20 || ###################################################################
21 \*=====================================================================*/
22
23 define('PATH_OVERRIDE', 1);
24
25 require_once('./global.php');
26
27 // ###################################################################
28
29 $controller = new Controller($argv[1]);
30 $controller->cachev->exec_build();
31
32 /*=====================================================================*\
33 || ###################################################################
34 || # $HeadURL$
35 || # $Id$
36 || ###################################################################
37 \*=====================================================================*/
38 ?>