From cb41b38358b9b0a1551bbee02bbb1d790fb5415a Mon Sep 17 00:00:00 2001 From: Peter Birch Date: Mon, 18 Dec 2023 19:21:26 +1100 Subject: [PATCH] reorder build depend --- build.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index d8971b3..434c740 100755 --- a/build.sh +++ b/build.sh @@ -19,6 +19,14 @@ function buildDocs { } args=${1:-bin} + +if [[ "${args}" == "depends" ]] +then + setupWorkspaceForBuild + exit +fi + + if [[ "${args}" == "doc" ]] then buildDocs @@ -51,9 +59,3 @@ then exit fi -if [[ "${args}" == "depends" ]] -then - setupWorkspaceForBuild - exit -fi -