From 098812c5a834cac0024a82d2885b6135c5de9da7 Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Wed, 16 Jan 2019 16:20:24 -0600 Subject: [PATCH] switched from mono to .net core --- Ficdown.Console/App.config | 6 - Ficdown.Console/Ficdown.Console.csproj | 64 +-------- Ficdown.Console/Properties/AssemblyInfo.cs | 36 ----- Ficdown.Parser.Tests/BlockHandlerTests.cs | 3 - .../Ficdown.Parser.Tests.csproj | 108 +++------------ Ficdown.Parser.Tests/IntegrationTests.cs | 7 +- .../Properties/AssemblyInfo.cs | 36 ----- .../TestStories/Resources.Designer.cs | 83 ------------ .../TestStories/Resources.resx | 127 ------------------ Ficdown.Parser.Tests/packages.config | 6 - Ficdown.Parser/FicDownParser.cs | 1 - Ficdown.Parser/Ficdown.Parser.csproj | 110 ++------------- Ficdown.Parser/Properties/AssemblyInfo.cs | 36 ----- Ficdown.Parser/Render/Template.cs | 5 +- Ficdown.Parser/packages.config | 6 - Ficdown.sln | 6 +- Makefile | 18 +++ README.md | 10 +- scripts/build.sh | 4 - scripts/rebuild.sh | 5 - scripts/release.sh | 11 -- scripts/run.sh | 4 - scripts/test.sh | 7 - 23 files changed, 68 insertions(+), 631 deletions(-) delete mode 100644 Ficdown.Console/App.config delete mode 100644 Ficdown.Console/Properties/AssemblyInfo.cs delete mode 100644 Ficdown.Parser.Tests/Properties/AssemblyInfo.cs delete mode 100644 Ficdown.Parser.Tests/TestStories/Resources.Designer.cs delete mode 100644 Ficdown.Parser.Tests/TestStories/Resources.resx delete mode 100644 Ficdown.Parser.Tests/packages.config delete mode 100644 Ficdown.Parser/Properties/AssemblyInfo.cs delete mode 100644 Ficdown.Parser/packages.config create mode 100644 Makefile delete mode 100755 scripts/build.sh delete mode 100755 scripts/rebuild.sh delete mode 100755 scripts/release.sh delete mode 100755 scripts/run.sh delete mode 100755 scripts/test.sh diff --git a/Ficdown.Console/App.config b/Ficdown.Console/App.config deleted file mode 100644 index 8e15646..0000000 --- a/Ficdown.Console/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Ficdown.Console/Ficdown.Console.csproj b/Ficdown.Console/Ficdown.Console.csproj index b774665..8685468 100644 --- a/Ficdown.Console/Ficdown.Console.csproj +++ b/Ficdown.Console/Ficdown.Console.csproj @@ -1,64 +1,12 @@  - - + - Debug - AnyCPU - {C9D8CF8A-3CBE-4E45-91A3-37F8256A81A7} Exe - Properties - Ficdown.Console - Ficdown.Console - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + netcoreapp2.1 + PackageReference + ficdown - - - - - - - + - - - - - - - - - - {780f652d-7541-4171-bb89-2d263d3961dc} - Ficdown.Parser - - - - - \ No newline at end of file + diff --git a/Ficdown.Console/Properties/AssemblyInfo.cs b/Ficdown.Console/Properties/AssemblyInfo.cs deleted file mode 100644 index fef4676..0000000 --- a/Ficdown.Console/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Ficdown.Console")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Ficdown.Console")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("dafaccf5-0218-412d-b127-665c768f85ec")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Ficdown.Parser.Tests/BlockHandlerTests.cs b/Ficdown.Parser.Tests/BlockHandlerTests.cs index 805ea59..32dccfa 100644 --- a/Ficdown.Parser.Tests/BlockHandlerTests.cs +++ b/Ficdown.Parser.Tests/BlockHandlerTests.cs @@ -1,8 +1,5 @@ namespace Ficdown.Parser.Tests { - using System; - using System.Linq; - using System.Collections.Generic; using Xunit; using Parser; using Model.Parser; diff --git a/Ficdown.Parser.Tests/Ficdown.Parser.Tests.csproj b/Ficdown.Parser.Tests/Ficdown.Parser.Tests.csproj index 5fa1dc3..84de84c 100644 --- a/Ficdown.Parser.Tests/Ficdown.Parser.Tests.csproj +++ b/Ficdown.Parser.Tests/Ficdown.Parser.Tests.csproj @@ -1,87 +1,23 @@ - - - - Debug - AnyCPU - {756192E2-BA47-4850-8096-289D44878A7E} - Library - Properties - Ficdown.Parser.Tests - Ficdown.Parser.Tests - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll - - - ..\packages\ServiceStack.Text.4.0.22\lib\net40\ServiceStack.Text.dll - - - - - - - - - - ..\packages\xunit.1.9.2\lib\net20\xunit.dll - - - - - - - - True - True - Resources.resx - - - - - - - - - - - - - {780f652d-7541-4171-bb89-2d263d3961dc} - Ficdown.Parser - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - + + + + Library + netcoreapp2.1 + PackageReference + + + + + + + + + + + + + runtime; build; native; contentfiles; analyzers + all + + diff --git a/Ficdown.Parser.Tests/IntegrationTests.cs b/Ficdown.Parser.Tests/IntegrationTests.cs index 7df5597..2792023 100644 --- a/Ficdown.Parser.Tests/IntegrationTests.cs +++ b/Ficdown.Parser.Tests/IntegrationTests.cs @@ -1,10 +1,7 @@ namespace Ficdown.Parser.Tests { - using System; using System.IO; - using System.Text; using Render; - using TestStories; using Xunit; public class IntegrationTests @@ -13,9 +10,9 @@ public void CanParseValidStoryFile() { var parser = new FicdownParser(); - var storyText = Encoding.UTF8.GetString(Resources.CloakOfDarkness); + var storyText = File.ReadAllText(Path.Combine(Template.BaseDir, "TestStories", "CloakOfDarkness.md")); var story = parser.ParseStory(storyText); - var path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "itest_output"); + var path = Path.Combine(Template.BaseDir, "itest_output"); if (!Directory.Exists(path)) Directory.CreateDirectory(path); foreach (var file in Directory.GetFiles(path)) { diff --git a/Ficdown.Parser.Tests/Properties/AssemblyInfo.cs b/Ficdown.Parser.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index c61b2b9..0000000 --- a/Ficdown.Parser.Tests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Ficdown.Parser.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Ficdown.Parser.Tests")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("7380fc2c-7382-4fbb-be17-574662992d92")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Ficdown.Parser.Tests/TestStories/Resources.Designer.cs b/Ficdown.Parser.Tests/TestStories/Resources.Designer.cs deleted file mode 100644 index fd2cb80..0000000 --- a/Ficdown.Parser.Tests/TestStories/Resources.Designer.cs +++ /dev/null @@ -1,83 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34014 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Ficdown.Parser.Tests.TestStories { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Ficdown.Parser.Tests.TestStories.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized resource of type System.Byte[]. - /// - internal static byte[] CloakOfDarkness { - get { - object obj = ResourceManager.GetObject("CloakOfDarkness", resourceCulture); - return ((byte[])(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Byte[]. - /// - internal static byte[] TheRobotKing { - get { - object obj = ResourceManager.GetObject("TheRobotKing", resourceCulture); - return ((byte[])(obj)); - } - } - } -} diff --git a/Ficdown.Parser.Tests/TestStories/Resources.resx b/Ficdown.Parser.Tests/TestStories/Resources.resx deleted file mode 100644 index f736bcd..0000000 --- a/Ficdown.Parser.Tests/TestStories/Resources.resx +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - CloakOfDarkness.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - TheRobotKing.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - diff --git a/Ficdown.Parser.Tests/packages.config b/Ficdown.Parser.Tests/packages.config deleted file mode 100644 index 1e79477..0000000 --- a/Ficdown.Parser.Tests/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Ficdown.Parser/FicDownParser.cs b/Ficdown.Parser/FicDownParser.cs index af106f2..7fc7112 100644 --- a/Ficdown.Parser/FicDownParser.cs +++ b/Ficdown.Parser/FicDownParser.cs @@ -5,7 +5,6 @@ namespace Ficdown.Parser { using System; using System.Linq; - using System.Collections.Generic; using Model.Parser; using Parser; using Player; diff --git a/Ficdown.Parser/Ficdown.Parser.csproj b/Ficdown.Parser/Ficdown.Parser.csproj index 18f5d51..077411a 100644 --- a/Ficdown.Parser/Ficdown.Parser.csproj +++ b/Ficdown.Parser/Ficdown.Parser.csproj @@ -1,109 +1,17 @@ - - + + - Debug - AnyCPU - {780F652D-7541-4171-BB89-2D263D3961DC} Library - Properties - Ficdown.Parser - Ficdown.Parser - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + netcoreapp2.1 + PackageReference - - ..\packages\Epub4Net.1.2.0\lib\net40\Epub4Net.dll - - - ..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll - - - ..\packages\MarkdownSharp.1.13.0.0\lib\35\MarkdownSharp.dll - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - Always - - - - - Always - - - - - Always - - - - diff --git a/Ficdown.Parser/Properties/AssemblyInfo.cs b/Ficdown.Parser/Properties/AssemblyInfo.cs deleted file mode 100644 index b88cc2f..0000000 --- a/Ficdown.Parser/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("FicDown.Parser")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("FicDown.Parser")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("f59ab52e-a106-4ed4-b004-71f417a67edf")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Ficdown.Parser/Render/Template.cs b/Ficdown.Parser/Render/Template.cs index 30cd027..02385d2 100644 --- a/Ficdown.Parser/Render/Template.cs +++ b/Ficdown.Parser/Render/Template.cs @@ -2,9 +2,12 @@ namespace Ficdown.Parser.Render { using System; using System.IO; + using System.Reflection; public static class Template { + public static string BaseDir => Path.GetDirectoryName(new Uri(Assembly.GetExecutingAssembly().CodeBase).AbsolutePath); + public static string Index { get { return GetFileContents("Views/index.html"); } @@ -22,7 +25,7 @@ namespace Ficdown.Parser.Render private static string GetFileContents(string fname) { - var path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, string.Format("Render/{0}", fname)); + var path = Path.Combine(Template.BaseDir, "Render", fname); return File.ReadAllText(path); } } diff --git a/Ficdown.Parser/packages.config b/Ficdown.Parser/packages.config deleted file mode 100644 index 63e5c17..0000000 --- a/Ficdown.Parser/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/Ficdown.sln b/Ficdown.sln index 04e58fa..0703780 100644 --- a/Ficdown.sln +++ b/Ficdown.sln @@ -1,8 +1,8 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 +# Visual Studio 15 +VisualStudioVersion = 15.0.26124.0 +MinimumVisualStudioVersion = 15.0.26124.0 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ficdown.Parser", "Ficdown.Parser\Ficdown.Parser.csproj", "{780F652D-7541-4171-BB89-2D263D3961DC}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ficdown.Parser.Tests", "Ficdown.Parser.Tests\Ficdown.Parser.Tests.csproj", "{756192E2-BA47-4850-8096-289D44878A7E}" diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8619ddf --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +build: + dotnet build + +clean: + rm -rf */bin */obj + +rebuild: clean build + +test: + dotnet test Ficdown.Parser.Tests + +publish: clean + dotnet publish --self-contained -c Release -r linux-x64 Ficdown.Console + tar -C Ficdown.Console/bin/Release/netcoreapp2.1/linux-x64/publish -cvzf /tmp/ficdown-linux64.tar.gz . + dotnet publish --self-contained -c Release -r win-x64 Ficdown.Console + 7z a -tzip /tmp/ficdown-win64.zip -w ./Ficdown.Console/bin/Release/netcoreapp2.1/win-x64/publish/* + dotnet publish --self-contained -c Release -r osx-x64 Ficdown.Console + tar -C Ficdown.Console/bin/Release/netcoreapp2.1/osx-x64/publish -cvzf /tmp/ficdown-osx64.tar.gz . diff --git a/README.md b/README.md index 5e9516b..184c4e1 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,11 @@ This project contains the core Ficdown library for parsing Ficdown stories, as w ## Dependencies -Ficdown is written using .NET and should run on recent versions of Windows without requiring any additional downloads. Older versions may need to have .NET 4.5 installed via Windows Software Update. - -It has been written and tested on Linux using [Mono](http://www.mono-project.com). +Ficdown is written using .NET Core and should run on Windows, Linux, and OSX without needing any additional system dependencies installed. ## Obtaining -If you want to use Ficdown to convert your stories into ebooks, download *ficdown.zip* from the latest release on the [releases](https://github.com/rudism/Ficdown/releases) page and decompress it somewhere on your hard drive. Ficdown does not include an installer, the ficdown.exe utility is included directly in the zip archive. +If you want to use Ficdown to convert your stories into ebooks, download the latest version from the [releases](https://github.com/rudism/Ficdown/releases) page and decompress it somewhere on your hard drive. Ficdown does not include an installer, the application and all of its dependencies are included directly in the zip archive. ## Usage @@ -24,7 +22,7 @@ Once in your command prompt, you can run ficdown by typing `ficdown.exe` and the ### Linux/Mac OS X -You must have Mono installed to use ficdown.exe. Assuming it is installed an on your path, from your command line in the ficdown folder you would just need to type `mono ficdown.exe` and include your command line options to pass to ficdown +The pre-built releases are self-contained .NET Core deployments, so you should be able to just run the `ficdown` executable after decompressing it. ### Options @@ -39,7 +37,7 @@ Running ficdown.exe without any arguments will produce the following help text: [--author "Author Name"] [--debug] -Options surrounded by square brackets are optional, everything else is required. It should be noted that while the help text shows Linux-style paths, these will not work on Windows. On Windows you should pass regular paths as you normally would (for example `--in "C:\Users\Me\Documents\MyStory.md`). +Arguments surrounded by square brackets are optional, everything else is required. It should be noted that while the help text shows Linux-style paths, these will not work on Windows. On Windows you should pass regular paths as you normally would (for example `--in "C:\Users\Me\Documents\MyStory.md`). #### --format diff --git a/scripts/build.sh b/scripts/build.sh deleted file mode 100755 index c0a896b..0000000 --- a/scripts/build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -DIR=`dirname $0` -xbuild $DIR/../Ficdown.sln diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh deleted file mode 100755 index 7e6fcc9..0000000 --- a/scripts/rebuild.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -DIR=`dirname $0` -rm -rf $DIR/../*/bin $DIR/../*/obj -xbuild $DIR/../Ficdown.sln diff --git a/scripts/release.sh b/scripts/release.sh deleted file mode 100755 index 424f8c1..0000000 --- a/scripts/release.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 /tmp/ficdown/*.pdb -rm /tmp/ficdown/Ficdown.Console.exe.config -mv /tmp/ficdown/Ficdown.Console.exe /tmp/ficdown/ficdown.exe -7z a -tzip /tmp/ficdown.zip -w /tmp/ficdown/* -rm -rf /tmp/ficdown diff --git a/scripts/run.sh b/scripts/run.sh deleted file mode 100755 index 3b1a895..0000000 --- a/scripts/run.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -DIR=`dirname $0` -mono $DIR/../Ficdown.Console/bin/Debug/Ficdown.Console.exe "$@" diff --git a/scripts/test.sh b/scripts/test.sh deleted file mode 100755 index 9e36b9f..0000000 --- a/scripts/test.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -DIR=`dirname $0` -if [ ! -d "$DIR/xunit.runner.console.2.0.0" ]; then - nuget install xunit.runner.console -Version 2.0.0 -OutputDirectory $DIR -fi -mono --debug $DIR/xunit.runner.console.2.0.0/tools/xunit.console.exe $DIR/../Ficdown.Parser.Tests/bin/Debug/Ficdown.Parser.Tests.dll