Browse files

Configuring .NET Framework version using psake-config.ps1, the rest u…

…ses the new syntax
  • Loading branch information...
1 parent 0908041 commit 74d6b2eccf57905d63e1a0f4590d8c0be4e75652 @agross committed Jul 30, 2012
Showing with 11 additions and 9 deletions.
  1. +10 −9 default.ps1
  2. +1 −0 psake-config.ps1
View
19 default.ps1
@@ -1,12 +1,13 @@
-$framework = '4.0'
-$nunit = './packages/NUnit.2.5.10.11092/tools'
-
-# IMPORTANT: We need to use ${env:blah} because the environent variable contains dots. I <3 PowerShell.
-#
-# Please see TeamCity Configuration.png, it shows how to set up the required NUnit environent variable
-# for PowerShell.
-#
-$running_in_teamcity = ${env:teamcity.dotnet.nunitaddin} -ne $null
+properties {
+ $nunit = './packages/NUnit.2.5.10.11092/tools'
+
+ # IMPORTANT: We need to use ${env:blah} because the environent variable contains dots. I <3 PowerShell.
+ #
+ # Please see TeamCity Configuration.png, it shows how to set up the required NUnit environent variable
+ # for PowerShell.
+ #
+ $running_in_teamcity = ${env:teamcity.dotnet.nunitaddin} -ne $null
+}
task default -depends Test
View
1 psake-config.ps1
@@ -0,0 +1 @@
+$config.framework = "4.0"

0 comments on commit 74d6b2e

Please sign in to comment.