-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acquire .dotnet core and search further in file for schema
- Loading branch information
1 parent
21a07b9
commit e0666d0
Showing
40 changed files
with
3,399 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,5 @@ tsd.json | |
tslint.json | ||
typings/** | ||
webpack.config* | ||
*.vsix | ||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright © Microsoft Corporation | ||
# All rights reserved. | ||
# | ||
# Licensed under the MIT License. See LICENSE-CODE in the project root for details. | ||
# | ||
# Exit codes: | ||
# 0 - Success | ||
# 4 - Distribution not supported by script | ||
# | ||
|
||
set H+ | ||
|
||
#openSUSE - Has to be first since apt-get is available but package names different | ||
if type zypper > /dev/null 2>&1; then | ||
echo "SUSE" | ||
exit 0 | ||
|
||
# Debian / Ubuntu | ||
elif type apt-get > /dev/null 2>&1; then | ||
echo "Debian" | ||
exit 0 | ||
|
||
#RHL/Fedora/CentOS | ||
elif type yum > /dev/null 2>&1; then | ||
echo "RedHat" | ||
exit 0 | ||
|
||
#ArchLinux | ||
elif type pacman > /dev/null 2>&1; then | ||
echo "ArchLinux" | ||
exit 0 | ||
|
||
#Solus | ||
elif type eopkg > /dev/null 2>&1; then | ||
echo "Solus" | ||
exit 0 | ||
|
||
#Alpine Linux | ||
elif type apk > /dev/null 2>&1; then | ||
echo "Alpine" | ||
exit 0 | ||
|
||
# Distro not supported | ||
else | ||
echo "UNKNOWN" | ||
exit 4 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@ECHO OFF | ||
PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0dotnet-install.ps1' %*; exit $LASTEXITCODE" |
Oops, something went wrong.