summaryrefslogtreecommitdiff
path: root/buildscripts/phing/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/phing/tasks')
-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');
}
/**