|
|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<project basedir="." name="p5build.SYSTEM">
|
|
|
+<project basedir="." name="p5build.SYSTEM" default="checkos">
|
|
|
|
|
|
|
|
|
|
|
|
@@ -19,4 +19,25 @@
|
|
|
<property name="p5build.remote.SE" location="${remote.SE}"/>
|
|
|
<property name="p5build.remote" location="${remote}"/>
|
|
|
|
|
|
+
|
|
|
+ <target name="checkos">
|
|
|
+ <echo message="OS Name is: ${os.name}" />
|
|
|
+ <echo message="OS Architecture is: ${os.arch}" />
|
|
|
+ <echo message="OS Version is: ${os.version}" />
|
|
|
+
|
|
|
+ <condition property="p5build.isWindows">
|
|
|
+ <os family="windows" />
|
|
|
+ </condition>
|
|
|
+
|
|
|
+ <condition property="p5build.isLinux">
|
|
|
+ <os family="unix" />
|
|
|
+ </condition>
|
|
|
+ <condition property="p5build.isMac">
|
|
|
+ <os family="mac" />
|
|
|
+ </condition>
|
|
|
+
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</project>
|