aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshlee Young <ashlee@onosfw.com>2015-10-23 10:39:24 -0700
committerAshlee Young <ashlee@onosfw.com>2015-10-23 10:39:24 -0700
commitfa354d1f604894f94ce60a24cf48453204abfe05 (patch)
treef76d06226d5cde50ddf4d62f5145fd315787e2b7
parenta95e947516d1cf5a597ef8a679352d525d0d73f5 (diff)
Created main() function with execution order
Change-Id: I05d06128ecf7d9693c8121691ebf51859d0800fb Signed-off-by: Ashlee Young <ashlee@onosfw.com>
-rwxr-xr-xbuild.sh16
1 files changed, 11 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index b4fc3759..84387a96 100755
--- a/build.sh
+++ b/build.sh
@@ -176,9 +176,15 @@ installMaven()
}
##### End Install Maven #####
+##### Execution order #####
+main()
+{
+ displayVersion
+ updateONOS
+ checkJAVA
+ installAnt
+ installMaven
+}
+##### End Execution order #####
-displayVersion
-updateONOS
-checkJAVA
-installAnt
-installMaven
+main # Launches the build process \ No newline at end of file