Added packing step for build libraries.

This commit is contained in:
David Fowler 2014-01-24 23:50:03 -08:00
parent b5a80997d6
commit f53b844807
2 changed files with 19 additions and 0 deletions

12
build/KBuild.nuspec Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>KBuild</id>
<title>The ProjectK build tools</title>
<version>0.0</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<description>ProjectK build tooling</description>
<language>en-US</language>
</metadata>
</package>

View File

@ -16,12 +16,19 @@ var repos='${new Dictionary<string,string> {
{"Mvc", "git@github.com:aspnet/Mvc.git"},
}}'
default BASE_DIR='${Directory.GetCurrentDirectory()}'
default TARGET_DIR='${Path.Combine(BASE_DIR, "artifacts")}'
#default .compile
#pull
#compile .pull
#install .pull
#pack
directory create='${TARGET_DIR}'
nuget-pack nuspecFile='${Path.Combine(BASE_DIR, "build", "KBuild.nuspec")}' packageVersion='${VERSION}' outputDir='${TARGET_DIR}'
#git-pull target='pull'
@{
foreach(var repo in repos)