summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@mmarkovcorp.com>2017-09-04 12:54:29 -0700
committerOri Bernstein <ori@mmarkovcorp.com>2017-09-04 12:54:29 -0700
commit037c644bc26ee88d2fd2b0c9988bbcbdeaf46659 (patch)
tree166c71e3cca3a47aa3f238e2dfa55ab77dc19814 /mbld
parentbff5417fece9ae857ba09de40f1a0823bead52fc (diff)
downloadmc-037c644bc26ee88d2fd2b0c9988bbcbdeaf46659.tar.gz
support benchmark command targets.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/deps.myr4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index 1ed9981..b68e80f 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -225,6 +225,10 @@ const cmddeps = {b, name, ct
a = std.htgetv(b.deps.targs, "test", [][:])
std.slpush(&a, n)
std.htput(b.deps.targs, "test", a)
+ elif ct.isbench
+ a = std.htgetv(b.deps.targs, "bench", [][:])
+ std.slpush(&a, n)
+ std.htput(b.deps.targs, "bench", a)
elif gen
pid = run(ct.cmd, ct.dir)
match std.wait(pid)