Permalink
Browse files

nuget package has readme pointing towards test runner

  • Loading branch information...
1 parent 5a763f0 commit 1c251d30b21985f6589848f57092984d8be28194 @fschwiet committed Jun 12, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 build/build.ps1
View
@@ -150,6 +150,7 @@ task BuildNuget {
$nugetTargetRunner = "$nugetBuildPath\NJasmine.NUnit"
mkdir "$nugetTargetLib\lib\" | out-null
+ mkdir "$nugetTargetLib\tools\" | out-null
mkdir "$nugetTargetRunner\lib\" | out-null
mkdir "$nugetTargetRunner\tools\" | out-null
@@ -168,6 +169,9 @@ task BuildNuget {
cp "$($build.dir)\NJasmine.NUnit.dll" "$nugetTargetRunner\lib\"
cp "$($build.dir)\NJasmine.NUnit.pdb" "$nugetTargetRunner\lib\"
+ "Nuget package NJasmine is included to write tests, include NJasmine.NUnit to run tests http://nuget.org/packages/NJasmine.NUnit." | set-content "$nugetTargetLib\tools\readme.txt" -encoding utf8
+ "Run NJasmine tests by running the NUnit runners included with NUnit.Runners. Nuget package NJasmine.NUnit copies the necessary DLLs to the corresponding addins folder." | set-content "$nugetTargetRunner\tools\readme.txt" -encoding utf8
+
(get-content "$($base.dir)\nuget.install.ps1") -replace "!NUnitVersion!",$nunitVersion | set-content "$nugetTargetRunner\tools\install.ps1" -encoding UTF8
$packageVersion = "$($build.version).0"

0 comments on commit 1c251d3

Please sign in to comment.