[nem-en] NAnt task for Nemerle
Kamil Skalski
nazgul at nemerle.org
Sat Mar 26 15:47:21 CET 2005
Matthijs ter Woord imlemented the plugin to NAnt for building Nemerle
projects. Thanks!
I'm attaching the source code.
To use it you must:
- use svn version of nemerle (a few minor issues about command line options
compatiblity had to be fixed)
- compile task file:
mcs NantTask.cs -r /usr/share/NAnt/bin/NAnt.DotNetTasks.dll
-r /usr/share/NAnt/bin/NAnt.Core.dll /target:library
- use following template project.build file:
<project default="build">
<loadtasks assembly="NantTask.dll"/>
<target name="build">
<ncc target="exe" output="hello.exe">
<sources><include name="*.n"/>
</sources>
</ncc>
</target>
</project>
TODO:
- source code is in C#, I will convert it to Nemerle in a moment
- add it to Nemerle svn tree
- decide what to do with the assembly, should we include it in binary
distribution, what to do about dependencies, etc.
- it is possible to modify nant .config file, so <loadtasks
assembly="NantTask.dll"/> won't be needed. but probably it can't be made
automatic (for example in make install or when installing binary packages)
- create a little toutorial about using nant tasks with nemerle and to
advertise it
--
Kamil Skalski
More information about the devel-en
mailing list