aboutsummaryrefslogtreecommitdiff
path: root/default.bld
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-05-15 07:44:10 +0000
committerMike Buland <eichlan@xagasoft.com>2010-05-15 07:44:10 +0000
commit306b80c1cf9ab490a83b36d3e7cf07e09f9e5d68 (patch)
tree32c35f8507edb4ea403f4ebc4b625c1096f6f384 /default.bld
parent11413d228bae2919fe69c83b74c7ff49209dd65a (diff)
downloadlibbu++-306b80c1cf9ab490a83b36d3e7cf07e09f9e5d68.tar.gz
libbu++-306b80c1cf9ab490a83b36d3e7cf07e09f9e5d68.tar.bz2
libbu++-306b80c1cf9ab490a83b36d3e7cf07e09f9e5d68.tar.xz
libbu++-306b80c1cf9ab490a83b36d3e7cf07e09f9e5d68.zip
mkunit.sh was a little dumb, it didn't handle a number of things correctly.
I've written a new program that basically does the same thing, only it's much more clever, and does many more of the translations and conversions better, including the #line directives. Also, I dropped nids, we don't need it anymore. But now I'm ready to write some serious tests for myriad.
Diffstat (limited to 'default.bld')
-rw-r--r--default.bld7
1 files changed, 6 insertions, 1 deletions
diff --git a/default.bld b/default.bld
index 124a9ec..188d6de 100644
--- a/default.bld
+++ b/default.bld
@@ -29,6 +29,11 @@ action "all"
29 targets("tests")]; 29 targets("tests")];
30} 30}
31 31
32action "unit"
33{
34 build: targets("unit tests");
35}
36
32target files("src/*.h").replace("src/", "bu/") 37target files("src/*.h").replace("src/", "bu/")
33{ 38{
34 tag "header-links"; 39 tag "header-links";
@@ -157,7 +162,7 @@ rule "unit"
157 162
158 profile "build" 163 profile "build"
159 { 164 {
160 execute("./mkunit.sh \"${INPUT}\" \"${OUTPUT}\""); 165 execute("./mkunit \"${INPUT}\" \"${OUTPUT}\"");
161 } 166 }
162} 167}
163 168