Skip to content

Commit 353e89e

Browse files
committed
Renaming projects to match the package id
1 parent bb3d94e commit 353e89e

File tree

1,103 files changed

+9
-11178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,103 files changed

+9
-11178
lines changed

JsonLD.sln

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
44
VisualStudioVersion = 14.0.25123.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "JsonLD", "src\JsonLD\JsonLD.xproj", "{E1AB2A29-D1E4-45A1-9076-8255916F5693}"
6+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "json-ld.net", "src\json-ld.net\json-ld.net.xproj", "{E1AB2A29-D1E4-45A1-9076-8255916F5693}"
77
EndProject
8-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "JsonLDTests", "test\JsonLDTests\JsonLDTests.xproj", "{05CBE0E2-FBD2-40D1-BD9A-D30BD7ACF219}"
8+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "json-ld.net.tests", "test\json-ld.net.tests\json-ld.net.tests.xproj", "{05CBE0E2-FBD2-40D1-BD9A-D30BD7ACF219}"
99
EndProject
1010
Global
1111
GlobalSection(SolutionConfigurationPlatforms) = preSolution

build.ps1

+6-4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ $CLIRoot = Join-Path $RepoRoot 'cli'
1010
$DotNetExe = Join-Path $CLIRoot 'dotnet.exe'
1111
$NuGetExe = Join-Path $RepoRoot '.nuget\nuget.exe'
1212

13+
rm -r $ArtifactsDir -Force | Out-Null
14+
1315
New-Item -ItemType Directory -Force -Path $CLIRoot | Out-Null
1416
New-Item -ItemType Directory -Force -Path $ArtifactsDir | Out-Null
1517

@@ -45,7 +47,7 @@ if (-not (Test-Path $DotNetExe)) {
4547
& $DotNetExe restore $RepoRoot
4648

4749
# Run tests
48-
$TestDir = Join-Path $RepoRoot test\JsonLDTests
50+
$TestDir = Join-Path $RepoRoot test\json-ld.net.tests
4951
pushd $TestDir
5052

5153
# core clr
@@ -62,10 +64,10 @@ if (-not $?) {
6264

6365
$xunit = Join-Path $RepoRoot packages\xunit.runner.console.2.1.0\tools\xunit.console.x86.exe
6466

65-
& $xunit bin\release\net46\win7-x64\JsonLDTests.dll -html (Join-Path $ArtifactsDir "testresults.html")
67+
& $xunit bin\release\net46\win7-x64\json-ld.net.tests.dll -html (Join-Path $ArtifactsDir "testresults.html")
6668

6769
if (-not $?) {
68-
Error-Log "Tests failed!!!"
70+
Write-Host "Tests failed!!!"
6971
Exit 1
7072
}
7173

@@ -75,6 +77,6 @@ popd
7577

7678
Write-Host "Creating nupkg"
7779

78-
& $DotNetExe pack (Join-Path $RepoRoot src\JsonLD) --configuration $Configuration --output $ArtifactsDir
80+
& $DotNetExe pack (Join-Path $RepoRoot src\json-ld.net) --configuration $Configuration --output $ArtifactsDir
7981

8082
Write-Host "Success!"

0 commit comments

Comments
 (0)