projects
/
redact.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Kernel#raise instead of Kernel#fail.
[redact.git]
/
lib
/
redact
/
app.rb
diff --git
a/lib/redact/app.rb
b/lib/redact/app.rb
index d2b192390297aba44ee86305363bba4d99109c8c..b706acc4abed2d3b804b84a79e5afd500c540d6a 100644
(file)
--- a/
lib/redact/app.rb
+++ b/
lib/redact/app.rb
@@
-1,5
+1,5
@@
#--
#--
-# $Id: app.rb
2 2005-03-26 19:16:37
Z tilman $
+# $Id: app.rb
4 2005-03-26 19:26:56
Z tilman $
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
@@
-139,7
+139,9
@@
EOT
c = "embryo_cc " +
"-i #{incl}/include " +
"-o #{tf_out.path} #{tf_in.path}"
c = "embryo_cc " +
"-i #{incl}/include " +
"-o #{tf_out.path} #{tf_in.path}"
- system(c)
+ unless system(c)
+ raise("Cannot compile Embryo code")
+ end
ret[col.id] = tf_out.read
end
ret[col.id] = tf_out.read
end