diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-15 07:44:10 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-15 07:44:10 +0000 |
commit | 306b80c1cf9ab490a83b36d3e7cf07e09f9e5d68 (patch) | |
tree | 32c35f8507edb4ea403f4ebc4b625c1096f6f384 /default.bld | |
parent | 11413d228bae2919fe69c83b74c7ff49209dd65a (diff) | |
download | libbu++-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.bld | 7 |
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 | ||
32 | action "unit" | ||
33 | { | ||
34 | build: targets("unit tests"); | ||
35 | } | ||
36 | |||
32 | target files("src/*.h").replace("src/", "bu/") | 37 | target 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 | ||