Skip to content

Commit

Permalink
Acquire .dotnet core and search further in file for schema
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenWeatherford committed Sep 5, 2019
1 parent 21a07b9 commit e0666d0
Show file tree
Hide file tree
Showing 40 changed files with 3,399 additions and 367 deletions.
7 changes: 4 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"sourceMaps": true,
// outFiles is used for locating generated JavaScript files, see https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_source-maps
"outFiles": [
"${workspaceFolder}/**/*.js"
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: compile",
"env": {
Expand All @@ -34,12 +34,13 @@
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/**/*.js"
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "npm: webpack",
"env": {
"DEBUGTELEMETRY": "1",
"NODE_DEBUG": ""
"NODE_DEBUG": "",
"DEBUG_WEBPACK": ""
}
},
{
Expand Down
2 changes: 2 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ tsd.json
tslint.json
typings/**
webpack.config*
*.vsix
*.zip
49 changes: 49 additions & 0 deletions assets/scripts/determine-linux-distro.sh
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
2 changes: 2 additions & 0 deletions assets/scripts/dotnet-install.cmd
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"
Loading

0 comments on commit e0666d0

Please sign in to comment.