#--
-# $Id: app.rb 2 2005-03-26 19:16:37Z tilman $
+# $Id: app.rb 7 2005-03-28 16:27:18Z tilman $
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
end
o.on_tail("--version", "Show version") do
- puts <<EOT
-redact #{Redact::VERSION}
-
-Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
-EOT
+ puts "Redact #{Redact::VERSION}"
exit
end
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