From 80b39372cb435b44f8643e95fc32182ecd11ac8f Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Fri, 3 Nov 2017 08:13:08 -0700 Subject: [PATCH] Make multiplatform easier to read This isn't significantly shorter than the first pass, but it's easier to read and maintain. To add a new platform to this (if anyone wants to do that), just add sane default paths to ACBuild-default.properties, add a conditional to detect your platform, and add an init-platform target that does the configuration. There's a bit cleaner solution in ant-contrib using the if task, but that means adding to the dependencies and therefore the complexity of building this thing. I'm disinclined to do that. --- build/build.xml | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/build/build.xml b/build/build.xml index 85a126b..c847050 100755 --- a/build/build.xml +++ b/build/build.xml @@ -32,24 +32,6 @@ - - - - - - - - - - - - - - - - - - @@ -70,7 +52,23 @@ Building version ${acVersion}... - + + + + + + + + + + + + + + + +