summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorxue <>2006-06-19 03:59:09 +0000
committerxue <>2006-06-19 03:59:09 +0000
commit2664ae55742f7b05f29397698fc43ee64357b4f1 (patch)
tree87cff1c869c17472ca4d4defc8005ae353edc367 /buildscripts
parentd9a6e743bff30c14b8235d62858a0ccdbe8910c6 (diff)
Adjust build based on OS.
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/phing/tasks/PradoVersionTask.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildscripts/phing/tasks/PradoVersionTask.php b/buildscripts/phing/tasks/PradoVersionTask.php
index dfa0f578..911b68d4 100644
--- a/buildscripts/phing/tasks/PradoVersionTask.php
+++ b/buildscripts/phing/tasks/PradoVersionTask.php
@@ -11,6 +11,10 @@ class PradoVersionTask extends PropertyTask
{
$this->addProperty('prado.version',$this->getPradoVersion());
$this->addProperty('prado.revision',$this->getPradoRevision());
+ if(substr(PHP_OS, 0, 3) == 'WIN')
+ $this->addProperty('prado.winbuild','true');
+ else
+ $this->addProperty('prado.winbuild','false');
}
/**