libuv-package/makefile.shade

24 строки
771 B
Plaintext

var VERSION='0.1'
var FULL_VERSION='0.1'
var AUTHORS='Microsoft'
use-standard-lifecycle
k-standard-goals
custom-goals
#unset-env target='initialize'
- Environment.SetEnvironmentVariable("KOREBUILD_ADD_ASSEMBLY_INFO", "0");
#copy-libuv target='initialize' if='Directory.Exists("src")'
exec program='dotnet' commandline='run -p ../../tools/LibuvCopier' workingdir='${Path.Combine(Directory.GetCurrentDirectory(), "src/Libuv")}'
#create-commit-file target='compile'
@{
if (!IsLinux)
{
var artifactsDir = Path.Combine(Directory.GetCurrentDirectory(), "artifacts");
var commitHashFile = Path.Combine(artifactsDir, "commit");
Directory.CreateDirectory(artifactsDir);
GitCommand("rev-parse HEAD >> " + commitHashFile);
}
}