Skip to content

Commit 9e01696

Browse files
ASP.NET Push Botunknown
authored andcommitted
⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@88ca356
1 parent 8794e3a commit 9e01696

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

dnvm.ps1

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function _WriteOut {
6767

6868
### Constants
6969
$ProductVersion="1.0.0"
70-
$BuildVersion="beta6-10386"
70+
$BuildVersion="beta6-10387"
7171
$Authors="Microsoft Open Technologies, Inc."
7272

7373
# If the Version hasn't been replaced...
@@ -94,7 +94,7 @@ Set-Variable -Option Constant "DefaultRuntime" "clr"
9494
Set-Variable -Option Constant "AliasExtension" ".txt"
9595

9696
# These are intentionally using "%" syntax. The environment variables are expanded whenever the value is used.
97-
Set-Variable -Option Constant "OldUserHomes" @("%USERPROFILE%\.kre","%USERPROFILE%\.k")
97+
Set-Variable -Option Constant "OldUserHomes" @("%USERPROFILE%\.kre", "%USERPROFILE%\.k")
9898
Set-Variable -Option Constant "DefaultUserHome" "%USERPROFILE%\$DefaultUserDirectoryName"
9999
Set-Variable -Option Constant "HomeEnvVar" "DNX_HOME"
100100

@@ -679,7 +679,7 @@ function Ngen-Library(
679679
[Parameter(Mandatory=$true)]
680680
[string]$runtimeBin,
681681

682-
[ValidateSet("x86","x64")]
682+
[ValidateSet("x86", "x64")]
683683
[Parameter(Mandatory=$true)]
684684
[string]$architecture) {
685685

@@ -823,7 +823,7 @@ function dnvm-help {
823823
if($help.description) {
824824
_WriteOut
825825
_WriteOut -ForegroundColor $ColorScheme.Help_Header "remarks:"
826-
$help.description.Text.Split(@("`r","`n"), "RemoveEmptyEntries") |
826+
$help.description.Text.Split(@("`r", "`n"), "RemoveEmptyEntries") |
827827
ForEach-Object { _WriteOut " $_" }
828828
}
829829

@@ -912,11 +912,11 @@ function dnvm-alias {
912912
[string]$Version,
913913

914914
[Alias("arch")]
915-
[ValidateSet("", "x86","x64")]
915+
[ValidateSet("", "x86", "x64", "arm")]
916916
[string]$Architecture = "",
917917

918918
[Alias("r")]
919-
[ValidateSet("", "clr","coreclr")]
919+
[ValidateSet("", "clr", "coreclr")]
920920
[string]$Runtime = "")
921921

922922
if($Version) {
@@ -968,12 +968,12 @@ function dnvm-upgrade {
968968
[string]$Alias = "default",
969969

970970
[Alias("arch")]
971-
[ValidateSet("", "x86","x64")]
971+
[ValidateSet("", "x86", "x64", "arm")]
972972
[Parameter(Mandatory=$false)]
973973
[string]$Architecture = "",
974974

975975
[Alias("r")]
976-
[ValidateSet("", "clr","coreclr")]
976+
[ValidateSet("", "clr", "coreclr")]
977977
[Parameter(Mandatory=$false)]
978978
[string]$Runtime = "",
979979

@@ -1030,12 +1030,12 @@ function dnvm-install {
10301030
[string]$VersionNuPkgOrAlias,
10311031

10321032
[Alias("arch")]
1033-
[ValidateSet("", "x86","x64")]
1033+
[ValidateSet("", "x86", "x64", "arm")]
10341034
[Parameter(Mandatory=$false)]
10351035
[string]$Architecture = "",
10361036

10371037
[Alias("r")]
1038-
[ValidateSet("", "clr","coreclr")]
1038+
[ValidateSet("", "clr", "coreclr")]
10391039
[Parameter(Mandatory=$false)]
10401040
[string]$Runtime = "",
10411041

@@ -1244,12 +1244,12 @@ function dnvm-use {
12441244
[string]$VersionOrAlias,
12451245

12461246
[Alias("arch")]
1247-
[ValidateSet("", "x86","x64")]
1247+
[ValidateSet("", "x86", "x64", "arm")]
12481248
[Parameter(Mandatory=$false)]
12491249
[string]$Architecture = "",
12501250

12511251
[Alias("r")]
1252-
[ValidateSet("", "clr","coreclr")]
1252+
[ValidateSet("", "clr", "coreclr")]
12531253
[Parameter(Mandatory=$false)]
12541254
[string]$Runtime = "",
12551255

dnvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Source this file from your .bash-profile or script to use
33

44
# "Constants"
5-
_DNVM_BUILDNUMBER="beta6-10386"
5+
_DNVM_BUILDNUMBER="beta6-10387"
66
_DNVM_AUTHORS="Microsoft Open Technologies, Inc."
77
_DNVM_RUNTIME_PACKAGE_NAME="dnx"
88
_DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment"

0 commit comments

Comments
 (0)