aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/export.build14
1 files changed, 8 insertions, 6 deletions
diff --git a/build/export.build b/build/export.build
index ac9b325..7ae4879 100644
--- a/build/export.build
+++ b/build/export.build
@@ -7,9 +7,11 @@ $out_root/
include bbot/
}
-if ($import.target == exe{bbot-agent})
- export $out_root/bbot/exe{bbot-agent}
-elif ($import.target == exe{bbot-worker})
- export $out_root/bbot/exe{bbot-worker}
-else
- fail "unknown target $import.target"
+switch $import.target
+{
+ case exe{bbot-agent}
+ export $out_root/bbot/exe{bbot-agent}
+
+ case exe{bbot-worker}
+ export $out_root/bbot/exe{bbot-worker}
+}