-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPandoc.build
32 lines (32 loc) · 875 Bytes
/
Pandoc.build
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
30
31
32
<?xml version="1.0"?>
<!-- This is a NAnt build file. -->
<project name="libpandoc" default="build" basedir=".">
<target name="build">
<mkdir dir="bin"/>
<csc target="library" output="bin/Pandoc.dll">
<sources>
<include name="Pandoc.cs"/>
</sources>
</csc>
</target>
<target name="build-tests" depends="build">
<csc target="library" output="bin/Pandoc.Tests.dll">
<sources>
<include name="Pandoc.Tests.cs"/>
</sources>
<references>
<include name="lib/nunit.framework.dll" />
<include name="bin/Pandoc.dll"/>
</references>
</csc>
</target>
<target name="test" depends="build-tests">
<nunit2>
<test assemblyname="bin/Pandoc.Tests.dll"/>
<formatter type="Plain"/>
</nunit2>
</target>
<target name="clean">
<delete dir="bin"/>
</target>
</project>