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