Skip to content

Commit

Permalink
Cleaned out old files, tidied up project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
nblumhardt committed Nov 2, 2016
1 parent f92d391 commit 9353d08
Show file tree
Hide file tree
Showing 239 changed files with 4,106 additions and 31,135 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Auto detect text files and perform LF normalization

* text=auto
6 changes: 0 additions & 6 deletions .hgignore

This file was deleted.

4 changes: 0 additions & 4 deletions .nuget/packages.config

This file was deleted.

27 changes: 20 additions & 7 deletions Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,34 @@ if(Test-Path .\artifacts) {
Remove-Item .\artifacts -Force -Recurse
}

& dotnet restore .\Stateless\project.json --no-cache
& dotnet restore .\Stateless.Tests\project.json --no-cache
& dotnet restore --no-cache

$branch = @{ $true = $env:APPVEYOR_REPO_BRANCH; $false = $(git symbolic-ref --short -q HEAD) }[$env:APPVEYOR_REPO_BRANCH -ne $NULL];
$revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL];
$suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"]


echo "build: Version suffix is $suffix"

foreach ($src in ls src/*) {
Push-Location $src

echo "build: Packaging project in $src"

& dotnet pack .\Stateless\project.json -c Release -o .\artifacts --version-suffix=$suffix
& dotnet pack -c Release -o ..\..\artifacts --version-suffix=$suffix
if($LASTEXITCODE -ne 0) { exit 1 }

& dotnet test .\Stateless.Tests\project.json
if($LASTEXITCODE -ne 0) { exit 2 }
Pop-Location
}

foreach ($test in ls test/*.Tests) {
Push-Location $test

echo "build: Testing project in $test"

& dotnet test -c Release
if($LASTEXITCODE -ne 0) { exit 3 }

Pop-Location
}

Pop-Location
Pop-Location
15 changes: 0 additions & 15 deletions NUnit/NUnit License.txt

This file was deleted.

Binary file removed NUnit/nunit.framework.dll
Binary file not shown.
351 changes: 0 additions & 351 deletions Resource/SHFB/BuildComponents/SandcastleBuilder.Components.config

This file was deleted.

153 changes: 0 additions & 153 deletions Resource/SHFB/BuildReflectionData.bat

This file was deleted.

Binary file removed Resource/SHFB/Colorizer/CopyCode.gif
Binary file not shown.
Binary file removed Resource/SHFB/Colorizer/CopyCode_h.gif
Binary file not shown.
27 changes: 0 additions & 27 deletions Resource/SHFB/Colorizer/highlight.css

This file was deleted.

Loading

0 comments on commit 9353d08

Please sign in to comment.