Use dnvm run instead of switching using dnvm use
This commit is contained in:
parent
d65251055e
commit
6d5ac18d0c
|
|
@ -13,5 +13,5 @@ default dnvmUse=''
|
||||||
var dnvmPath='${Directory.GetCurrentDirectory()}\packages\KoreBuild\build\dnvm'
|
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 dnx . ${command}' if='!IsMono && string.IsNullOrEmpty(dnvmUse)'
|
||||||
exec program='cmd' commandline='/C "${dnvmPath}" use ${dnvmUse} && 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'
|
exec program='dnx' commandline='. ${command}' if='IsMono'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue