aspnetcore/build/_k.shade

18 lines
470 B
Plaintext

@{/*
k
Run klr commands in your project. Executes k cmd.
command=''
dnvmUse=''
*/}
default dnvmUse=''
var dnvmPath='${Directory.GetCurrentDirectory()}\packages\KoreBuild\build\dnvm'
exec program='cmd' commandline='/C k ${command}' if='!IsMono && string.IsNullOrEmpty(dnvmUse)'
exec program='cmd' commandline='/C "${dnvmPath}" use ${dnvmUse} && k ${command}' if='!IsMono && !string.IsNullOrEmpty(dnvmUse)'
exec program='k' commandline='${command}' if='IsMono'