From 9fb4da3c777800e2ae2ce2876363a50181644aee Mon Sep 17 00:00:00 2001 From: eddiemonge Date: Wed, 11 May 2011 19:19:35 -0700 Subject: [PATCH 1/2] Modify the nightly script to update the CDN --- .gitignore | 1 + gitpushlatest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 0f97c909..e3a53d48 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ combined/ combine/ compiled/ gitstatus.log +refreshCDN diff --git a/gitpushlatest.php b/gitpushlatest.php index 693eef30..69d4b5c4 100755 --- a/gitpushlatest.php +++ b/gitpushlatest.php @@ -5,5 +5,6 @@ if ( fread($file, filesize($filename)) === 'NewCommit' ) { ftruncate($file, 0); exec('git pull --quiet && make NIGHTLY_OUTPUT=latest nightly >> /dev/null 2>&1'); + exec('./refreshCDN'); } From ea2ed9dc08bfb2f7d414b2829899e9779c2721b3 Mon Sep 17 00:00:00 2001 From: eddiemonge Date: Fri, 13 May 2011 15:20:19 -0700 Subject: [PATCH 2/2] Update the CDN but dont output messages --- gitpushlatest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitpushlatest.php b/gitpushlatest.php index 69d4b5c4..bb62db74 100755 --- a/gitpushlatest.php +++ b/gitpushlatest.php @@ -5,6 +5,6 @@ if ( fread($file, filesize($filename)) === 'NewCommit' ) { ftruncate($file, 0); exec('git pull --quiet && make NIGHTLY_OUTPUT=latest nightly >> /dev/null 2>&1'); - exec('./refreshCDN'); + exec('./refreshCDN >> /dev/null 2>&1'); }