--
-$Id: ChangeLog 2 2005-03-26 19:16:37Z tilman $
+$Id: ChangeLog 3 2005-03-26 19:21:15Z tilman $
++
2005-03-26 Tilman Sauerbeck (tilman at code-monkey de)
* lib/redact/app.rb: Use Tempfile's for the Embryo source- and
amx code
+ * lib/redact/app.rb: Abort compilation if embryo_cc fails
2005-03-22 Tilman Sauerbeck (tilman at code-monkey de)
* lib/redact/app.rb: The default extension for Edje files is
#--
-# $Id: app.rb 2 2005-03-26 19:16:37Z tilman $
+# $Id: app.rb 3 2005-03-26 19:21:15Z tilman $
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
c = "embryo_cc " +
"-i #{incl}/include " +
"-o #{tf_out.path} #{tf_in.path}"
- system(c)
+ unless system(c)
+ fail("Cannot compile Embryo code")
+ end
ret[col.id] = tf_out.read
end