parent
865ce2b08a
commit
e81f1ef88b
23
dnvm.ps1
23
dnvm.ps1
|
|
@ -67,7 +67,7 @@ function _WriteOut {
|
||||||
|
|
||||||
### Constants
|
### Constants
|
||||||
$ProductVersion="1.0.0"
|
$ProductVersion="1.0.0"
|
||||||
$BuildVersion="beta6-10393"
|
$BuildVersion="beta6-10394"
|
||||||
$Authors="Microsoft Open Technologies, Inc."
|
$Authors="Microsoft Open Technologies, Inc."
|
||||||
|
|
||||||
# If the Version hasn't been replaced...
|
# If the Version hasn't been replaced...
|
||||||
|
|
@ -1299,6 +1299,17 @@ function dnvm-run {
|
||||||
param(
|
param(
|
||||||
[Parameter(Mandatory=$true, Position=0)]
|
[Parameter(Mandatory=$true, Position=0)]
|
||||||
[string]$VersionOrAlias,
|
[string]$VersionOrAlias,
|
||||||
|
|
||||||
|
[Alias("arch")]
|
||||||
|
[ValidateSet("", "x86", "x64", "arm")]
|
||||||
|
[Parameter(Mandatory=$false)]
|
||||||
|
[string]$Architecture = "",
|
||||||
|
|
||||||
|
[Alias("r")]
|
||||||
|
[ValidateSet("", "clr", "coreclr")]
|
||||||
|
[Parameter(Mandatory=$false)]
|
||||||
|
[string]$Runtime = "",
|
||||||
|
|
||||||
[Parameter(Mandatory=$false, Position=1, ValueFromRemainingArguments=$true)]
|
[Parameter(Mandatory=$false, Position=1, ValueFromRemainingArguments=$true)]
|
||||||
[object[]]$DnxArguments)
|
[object[]]$DnxArguments)
|
||||||
|
|
||||||
|
|
@ -1329,6 +1340,16 @@ function dnvm-exec {
|
||||||
[string]$VersionOrAlias,
|
[string]$VersionOrAlias,
|
||||||
[Parameter(Mandatory=$false, Position=1)]
|
[Parameter(Mandatory=$false, Position=1)]
|
||||||
[string]$Command,
|
[string]$Command,
|
||||||
|
|
||||||
|
[Alias("arch")]
|
||||||
|
[ValidateSet("", "x86", "x64", "arm")]
|
||||||
|
[Parameter(Mandatory=$false)]
|
||||||
|
[string]$Architecture = "",
|
||||||
|
|
||||||
|
[Alias("r")]
|
||||||
|
[ValidateSet("", "clr", "coreclr")]
|
||||||
|
[Parameter(Mandatory=$false)]
|
||||||
|
[string]$Runtime = "",
|
||||||
[Parameter(Mandatory=$false, Position=2, ValueFromRemainingArguments=$true)]
|
[Parameter(Mandatory=$false, Position=2, ValueFromRemainingArguments=$true)]
|
||||||
[object[]]$Arguments)
|
[object[]]$Arguments)
|
||||||
|
|
||||||
|
|
|
||||||
2
dnvm.sh
2
dnvm.sh
|
|
@ -2,7 +2,7 @@
|
||||||
# Source this file from your .bash-profile or script to use
|
# Source this file from your .bash-profile or script to use
|
||||||
|
|
||||||
# "Constants"
|
# "Constants"
|
||||||
_DNVM_BUILDNUMBER="beta6-10393"
|
_DNVM_BUILDNUMBER="beta6-10394"
|
||||||
_DNVM_AUTHORS="Microsoft Open Technologies, Inc."
|
_DNVM_AUTHORS="Microsoft Open Technologies, Inc."
|
||||||
_DNVM_RUNTIME_PACKAGE_NAME="dnx"
|
_DNVM_RUNTIME_PACKAGE_NAME="dnx"
|
||||||
_DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment"
|
_DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue