Updating to Sake 0.2.2
This commit is contained in:
parent
53a8ee36f3
commit
864cc39ce2
|
|
@ -15,5 +15,5 @@ md .nuget
|
||||||
copy %CACHED_NUGET% .nuget\nuget.exe > nul
|
copy %CACHED_NUGET% .nuget\nuget.exe > nul
|
||||||
|
|
||||||
:build
|
:build
|
||||||
.nuget\nuget.exe install Sake -version 0.2 -o packages
|
.nuget\nuget.exe install Sake -version 0.2.2 -o packages -ExcludeVersion
|
||||||
packages\Sake.0.2\tools\Sake.exe -I build -f makefile.shade %*
|
packages\Sake\tools\Sake.exe -I build -f makefile.shade %*
|
||||||
|
|
|
||||||
|
|
@ -26,13 +26,6 @@ functions
|
||||||
return "t" + DateTime.UtcNow.ToString("yyMMddHHmmss");
|
return "t" + DateTime.UtcNow.ToString("yyMMddHHmmss");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool IsTeamCity
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return Environment.GetEnvironmentVariable("TEAMCITY_PROJECT_NAME") != null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IsBuildV2
|
bool IsBuildV2
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ use namespace="System.Linq"
|
||||||
use import="Files"
|
use import="Files"
|
||||||
use import="BuildEnv"
|
use import="BuildEnv"
|
||||||
use import="Environment"
|
use import="Environment"
|
||||||
|
use-teamcity
|
||||||
|
|
||||||
default BASE_DIR='${Directory.GetCurrentDirectory()}'
|
default BASE_DIR='${Directory.GetCurrentDirectory()}'
|
||||||
default TARGET_DIR='${Path.Combine(BASE_DIR, "artifacts")}'
|
default TARGET_DIR='${Path.Combine(BASE_DIR, "artifacts")}'
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
var PROJECT='AspNet'
|
var PROJECT='AspNet'
|
||||||
var VERSION='0.2.1'
|
var VERSION='0.2.1'
|
||||||
|
|
||||||
|
use-teamcity
|
||||||
use namespace='System'
|
use namespace='System'
|
||||||
use namespace='System.IO'
|
use namespace='System.IO'
|
||||||
use namespace='System.Collections.Generic'
|
use namespace='System.Collections.Generic'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue