Skip to content

Instantly share code, notes, and snippets.

@jurrchen
Created August 13, 2010 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jurrchen/523588 to your computer and use it in GitHub Desktop.
Save jurrchen/523588 to your computer and use it in GitHub Desktop.
<project name="clojure.bootstrap" default="test">
<property name="project.dir" value="[[YOUR PROJECT DIRECTORY]]" />
<property name="curr.dir" value="${directory::get-current-directory()}" />
<property name="build.dir" value="${curr.dir}\build" />
<property name="solution.dir" value="${project.dir}\[[YOUR EXTERNAL SOLUTION DIRECTORY]]" />
<property name="solution.file" value=${solution.dir}\[[YOUR SOLUTION FILENAME]]" />
<target name="test">
<echo message="Please select a target" />
</target>
<target name="all" depends="[[PRESUMABLY, ALL YOUR TARGETS]]" />
<target name="[[YOUR SOLUTION NAME]]">
<exec program="msbuild.exe" basedir="C:\WINDOWS\Microsoft.NET\Framework64\v3.5" commandline="${solution.file}\ /p:OutputPath=${build.dir};Configuration=Release" />
<move todir="${curr.dir}" overwrite="true">
<fileset basedir="${build.dir}">
<include name="*.dll" />
</fileset>
</move>
<delete dir="${build.dir}" />
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment