nant with embeded scripts

Xml code posted by RuWi
created at 14 Feb 22:05

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<project default="help">
     <script language="C#" prefix="RuWi">
          <references>
              <include name="System.Xml.dll" />
              <include name="System.dll" />
          </references>
          <imports>
              <import namespace="System.Text" />
          </imports>
          <code>
            <![CDATA[
                [Function("fubar")]
                public static bool fubar()
                {
                    bool ok = true;
                    return ok;
                }
                ]]>
          </code>
     </script>
    <!-- end custom scripts --> 


    <target name="help" >   
        <echo message="Removed for keeping the file shorter." />
    </target>
    
            
</project>    
773 Bytes in 2 ms with coderay