Skip to content

Commit

Permalink
Added release generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhorswill committed Sep 7, 2018
1 parent 7b4108e commit c64bb36
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CatSAT/CatSAT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<DocumentationFile>bin\Debug\CatSAT.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down
1 change: 1 addition & 0 deletions CatSAT/SAT/Proposition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class Proposition : Literal

/// <summary>
/// Probability with which this proposition will be true in the solver's starting guess.
/// Should be a number in the range [0,1].
/// </summary>
public float InitialProbability = 0.5f;

Expand Down
1 change: 1 addition & 0 deletions PCGToyLoader/PCGToyLoader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\PCGToyLoader.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down
6 changes: 6 additions & 0 deletions make-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#! /bin/sh
rm -rf ../CatSAT-release
mkdir ../CatSAT-release
cp -r CatSAT/bin ../CatSAT-release/CatSAT
cp -r PCGToyLoader/bin ../CatSAT-release/PCGToyLoader
rm ../CatSAT-release/PCGToyLoader/*/CatSAT*

0 comments on commit c64bb36

Please sign in to comment.