Skip to content

Commit

Permalink
codepage parameter with utf8 doesnt work on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Jul 27, 2004
1 parent 534ee9b commit 9cd8964
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Bamboo.Prevalence.build
Expand Up @@ -2,6 +2,10 @@
<project name='Bamboo.Prevalence' default='debug'>

<property name='version' value='1.4.4.2' />

<property name="framework.family" value="${framework::get-family(framework::get-target-framework())}" />
<property name="csc.codepage" value="" />
<property name="csc.codepage" value="utf8" unless="${'net'==framework.family}" />

<include buildfile="common.inc" />

Expand All @@ -13,7 +17,7 @@

<target name='release' depends='clean, set-release-properties, update-assembly-info, build, test' description='release build' />

<target name='rebuild' depends='clean, debug' description='full debug build' />
<target name='rebuild' depends='clean, debug' description='full debug build' />

<target name="update-assembly-info">
<script language="c#">
Expand Down Expand Up @@ -185,7 +189,7 @@
target='library'
output='bin/Bamboo.Prevalence.Indexing.Tests.dll'
debug='true'
codepage="utf8">
codepage="${csc.codepage}">

<sources>
<include name='src/Bamboo.Prevalence.Indexing.Tests/*.cs' />
Expand All @@ -208,7 +212,7 @@
output='bin/Bamboo.Prevalence.Indexing.dll'
debug='${debug}'
optimize='${optimize}'
codepage="utf8">
codepage="${csc.codepage}">

<sources>
<include name='src/Bamboo.Prevalence.Indexing/**.cs' />
Expand Down

0 comments on commit 9cd8964

Please sign in to comment.