From 81fbbd7897312642774992566ebe525f41d37557 Mon Sep 17 00:00:00 2001 From: David Majda Date: Sat, 2 Apr 2011 13:49:11 +0200 Subject: [PATCH] Make "test" and "benchmark" Jakefile tasks depend on "build" This ensures the version tested/benchmarked is always up-to-date. --- Jakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jakefile b/Jakefile index 7b61d29..18795b7 100644 --- a/Jakefile +++ b/Jakefile @@ -160,13 +160,13 @@ task("distclean", [], function() { }); desc("Run the test suite"); -task("test", [], function() { +task("test", ["build"], function() { var process = childProcess.spawn("test/run", [], { customFds: [0, 1, 2] }); process.on("exit", function() { complete(); }); }, true); desc("Run the benchmark suite"); -task("benchmark", [], function(runCount) { +task("benchmark", ["build"], function(runCount) { var process = childProcess.spawn( "benchmark/run", runCount !== undefined ? [runCount] : [],