Step 1 Remove unneeded PHP hook files

This commit is contained in:
Eddie Monge 2011-11-08 15:00:35 -08:00
parent 4c6871d5be
commit 9709170235
3 changed files with 0 additions and 17 deletions

2
.gitignore vendored
View file

@ -7,8 +7,6 @@ cache/
combined/
combine/
compiled/
gitstatus.log
refreshCDN
*.swp
.gitignore
tests/speed/stats/stats.db

View file

@ -1,5 +0,0 @@
<?php
$file = fopen('gitstatus.log','wb');
fwrite($file, 'NewCommit');
fclose($file);

View file

@ -1,10 +0,0 @@
<?php
$filename = 'gitstatus.log';
$file = fopen($filename, 'r+b');
if ( fread($file, filesize($filename)) === 'NewCommit' )
{
ftruncate($file, 0);
exec('git pull --quiet && make NIGHTLY_OUTPUT=latest nightly >> /dev/null 2>&1');
exec('./refreshCDN >> /dev/null 2>&1');
}