aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/export.build7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/export.build b/build/export.build
index df4184e..63c5036 100644
--- a/build/export.build
+++ b/build/export.build
@@ -7,5 +7,8 @@ $out_root/
include bpkg-rep/
}
-if ($import.target == exe{bpkg-rep-publish})
- export $out_root/bpkg-rep/exe{bpkg-rep-publish}
+switch $import.target
+{
+ case exe{bpkg-rep-publish}
+ export $out_root/bpkg-rep/exe{bpkg-rep-publish}
+}