fixed story description

This commit is contained in:
Rudis Muiznieks 2015-07-29 18:11:07 -05:00
parent a6dc04f165
commit dc162cc2a6
2 changed files with 11 additions and 1 deletions

View File

@ -65,7 +65,7 @@
var story = new Story var story = new Story
{ {
Name = storyAnchor.Text, Name = storyAnchor.Text,
Description = string.Join("\n", storyBlock.Lines).Trim(), Description = string.Join("\n", storyBlock.Lines.Select(l => l.Text)).Trim(),
Scenes = new Dictionary<string, IList<Scene>>(), Scenes = new Dictionary<string, IList<Scene>>(),
Actions = new Dictionary<string, Action>() Actions = new Dictionary<string, Action>()
}; };

10
scripts/release.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
DIR=`dirname $0`
rm -rf $DIR/../*/bin $DIR/../*/obj
xbuild /p:Configuration=Release $DIR/../Ficdown.sln
cp -R $DIR/../Ficdown.Console/bin/Release /tmp/ficdown
rm -f /tmp/ficdown/*.mdb
mv /tmp/ficdown/Ficdown.Console.exe /tmp/ficdown/ficdown.exe
zip -j /tmp/ficdown.zip /tmp/ficdown/*
rm -rf /tmp/ficdown