Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 56 lines (51 sloc) 2.952 kB
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <PropertyGroup>
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug 3.5</Configuration>
7909b46 @kurtschelfthout Fixed platform problem Any CPU vs AnyCPU (mind the space) in build.pr…
kurtschelfthout authored
5 <!--<Platform Condition=" '$(Platform)' == '' ">Any CPU</Platform>-->
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
6 <cljc>Clojure.Compile.exe</cljc>
7 <clji>Clojure.Main.exe</clji>
8 </PropertyGroup>
9
10 <!--Is there a way to avoid this duplication? This is also encoded in the project files, although relative to a different path -->
7909b46 @kurtschelfthout Fixed platform problem Any CPU vs AnyCPU (mind the space) in build.pr…
kurtschelfthout authored
11 <PropertyGroup Condition=" '$(Configuration)' == 'Debug 3.5' ">
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
12 <OutputPath>..\bin\3.5\Debug\</OutputPath>
13 </PropertyGroup>
7909b46 @kurtschelfthout Fixed platform problem Any CPU vs AnyCPU (mind the space) in build.pr…
kurtschelfthout authored
14 <PropertyGroup Condition=" '$(Configuration)' == 'Release 3.5' ">
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
15 <OutputPath>..\bin\3.5\Release\</OutputPath>
16 </PropertyGroup>
7909b46 @kurtschelfthout Fixed platform problem Any CPU vs AnyCPU (mind the space) in build.pr…
kurtschelfthout authored
17 <PropertyGroup Condition=" '$(Configuration)' == 'Debug 4.0' ">
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
18 <OutputPath>..\bin\4.0\Debug\</OutputPath>
19 </PropertyGroup>
7909b46 @kurtschelfthout Fixed platform problem Any CPU vs AnyCPU (mind the space) in build.pr…
kurtschelfthout authored
20 <PropertyGroup Condition=" '$(Configuration)' == 'Release 4.0' ">
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
21 <OutputPath>..\bin\4.0\Release\</OutputPath>
22 </PropertyGroup>
23
24 <Target Name="Build">
7909b46 @kurtschelfthout Fixed platform problem Any CPU vs AnyCPU (mind the space) in build.pr…
kurtschelfthout authored
25 <MSBuild Projects="ClojureCLR.sln"/>
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
26 </Target>
27
28 <Target Name="CompileTest" DependsOnTargets="Build">
29 <Exec Command="$(cljc) clojure.test-clojure.genclass.examples clojure.test-clojure.protocols.examples clojure.test-clojure.protocols.more-examples clojure.test-clojure.repl.example"
30 WorkingDirectory="$(OutputPath)"/>
31 </Target>
32
33 <Target Name="Test" DependsOnTargets="Build;CompileTest">
22bfb41 @robertlj Updated SourceFiles parameter to allow ClojureCLR tests to run
robertlj authored
34 <Copy SkipUnchangedFiles="true" SourceFiles="Clojure.Tests\clojure\run_tests.clj" DestinationFolder="$(OutputPath)" />
2cef4c4 @dmiller Build.proj now uses run_tests.clj from the Clojure.Source\clojure dir
dmiller authored
35 <Exec Command="$(clji) clojure\run_tests.clj"
7909b46 @kurtschelfthout Fixed platform problem Any CPU vs AnyCPU (mind the space) in build.pr…
kurtschelfthout authored
36 WorkingDirectory="$(OutputPath)"/>
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
37 </Target>
38
39 <Target Name="Dist" DependsOnTargets="Build">
40 <ItemGroup>
41 <!--DLR-->
089e00c @kurtschelfthout Added Dist target to build script - tested that it works.
kurtschelfthout authored
42 <Dlls Include="$(OutputPath)\Microsoft.*" />
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
43 <!--Clojure dlls and exes-->
089e00c @kurtschelfthout Added Dist target to build script - tested that it works.
kurtschelfthout authored
44 <Dlls Include="$(OutputPath)\Clojure.*"
45 Exclude="$(OutputPath)\Clojure.Tests.dll;$(OutputPath)\Clojure.Tests.pdb;
46 $(OutputPath)\Clojure.Source.dll;$(OutputPath)\Clojure.Source.pdb;
47 $(OutputPath)\clojure.test-clojure.genclass.examples.ExampleClass.dll;
48 $(OutputPath)\clojure.test-clojure.genclass.examples.ExampleClass.pdb;
49 $(OutputPath)\Clojure.Main.vshost.exe;$(OutputPath)\Clojure.Main.vshost.exe.manifest" />
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
50 <!--clj and AOT clj files-->
089e00c @kurtschelfthout Added Dist target to build script - tested that it works.
kurtschelfthout authored
51 <CljFiles Include="$(OutputPath)\clojure\**\*" Exclude="$(OutputPath)\clojure\test_clojure\**\*" />
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
52 </ItemGroup>
089e00c @kurtschelfthout Added Dist target to build script - tested that it works.
kurtschelfthout authored
53 <Copy SourceFiles="@(Dlls)" DestinationFolder="..\dist\$(Configuration)" SkipUnchangedFiles="true" />
54 <Copy SourceFiles="@(CljFiles)" DestinationFolder="..\dist\$(Configuration)\clojure\%(RecursiveDir)" SkipUnchangedFiles="true" />
7b3d3f1 @kurtschelfthout Added first version of build script. Can run tests. Making distributi…
kurtschelfthout authored
55 </Target>
56 </Project>
Something went wrong with that request. Please try again.