mirror of
https://github.com/xoofx/markdig.git
synced 2026-11-16 17:30:52 +00:00
Fix test path resolution
This commit is contained in:
@@ -29,7 +29,7 @@ build:
|
||||
project: src/Markdig.sln
|
||||
verbosity: minimal
|
||||
after_build:
|
||||
- dotnet src/SpecFileGen -c Release --no-build
|
||||
- dotnet run --project SpecFileGen/SpecFileGen.csproj -c Release
|
||||
before_package:
|
||||
- cmd: >-
|
||||
msbuild /t:pack /p:VersionSuffix="%MARKDIG_VERSION_SUFFIX%" /p:Configuration=Release Markdig/Markdig.csproj
|
||||
|
||||
@@ -7,7 +7,11 @@ namespace SpecFileGen
|
||||
{
|
||||
class Program
|
||||
{
|
||||
const string SpecificationsDirectory = "../../../../Markdig.Tests/Specs/";
|
||||
static readonly string SpecificationsDirectory =
|
||||
Path.GetFullPath(
|
||||
Path.Combine(
|
||||
Path.GetDirectoryName(typeof(Spec).Assembly.Location),
|
||||
"../../../../Markdig.Tests/Specs/"));
|
||||
|
||||
class Spec
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user