[Monodevelop-patches-list] r2784 - trunk/MonoDevelop/Extras/BooBinding
Peter Johanson <latexer@gentoo.org>
pjohanson at mono-cvs.ximian.com
Tue Aug 23 21:03:51 EDT 2005
Author: pjohanson
Date: 2005-08-23 21:03:51 -0400 (Tue, 23 Aug 2005)
New Revision: 2784
Modified:
trunk/MonoDevelop/Extras/BooBinding/BooBindingCompilerServices.boo
trunk/MonoDevelop/Extras/BooBinding/ChangeLog
Log:
Add support for compiling in embedded resources from projects.
Modified: trunk/MonoDevelop/Extras/BooBinding/BooBindingCompilerServices.boo
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/BooBindingCompilerServices.boo 2005-08-23 21:15:34 UTC (rev 2783)
+++ trunk/MonoDevelop/Extras/BooBinding/BooBindingCompilerServices.boo 2005-08-24 01:03:51 UTC (rev 2784)
@@ -32,6 +32,7 @@
import MonoDevelop.Internal.Project
import Boo.Lang.Compiler
+import Boo.Lang.Compiler.Resources
public class BooBindingCompilerServices:
public def CanCompile (fileName as string):
@@ -62,6 +63,8 @@
if finfo.Subtype != Subtype.Directory:
if finfo.BuildAction == BuildAction.Compile:
compiler.Parameters.Input.Add(Boo.Lang.Compiler.IO.FileInput(finfo.Name))
+ elif finfo.BuildAction == BuildAction.EmbedAsResource:
+ compiler.Parameters.Resources.Add (EmbeddedFileResource (finfo.Name))
if configuration.CompileTarget == CompileTarget.Exe:
Modified: trunk/MonoDevelop/Extras/BooBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/ChangeLog 2005-08-23 21:15:34 UTC (rev 2783)
+++ trunk/MonoDevelop/Extras/BooBinding/ChangeLog 2005-08-24 01:03:51 UTC (rev 2784)
@@ -1,3 +1,8 @@
+2005-08-23 Peter Johanson <latexer at gentoo.org>
+
+ * BooBindingCompilerServices.boo: Add support for compiling in
+ embedded resources from projects.
+
2005-08-21 Peter Johanson <latexer at gentoo.org>
* tempaltes/*: Fix icon references to use new resource naming
More information about the Monodevelop-patches-list
mailing list