From 02bcd2788c37b11049391720e8551124c4f4b58b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 28 Nov 2019 11:01:04 +0300 Subject: Use switch in export.build --- build/export.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'build') 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} +} -- cgit v1.1