Created
August 13, 2010 21:42
-
-
Save jurrchen/523588 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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