Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
shana committed Nov 1, 2017
1 parent 29911ba commit 24a3b9f
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 342 deletions.
30 changes: 0 additions & 30 deletions GitHubVS.sln

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion scripts/Bump-Version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ if ($Trace) { Set-PSDebug -Trace 1 }
. $PSScriptRoot\modules.ps1 | out-null
. $scriptsDirectory\Modules\Versioning.ps1 | out-null
. $scriptsDirectory\Modules\Vsix.ps1 | out-null
. $scriptsDirectory\Modules\WiX.ps1 | out-null
. $scriptsDirectory\Modules\SolutionInfo.ps1 | out-null
. $scriptsDirectory\Modules\AppVeyor.ps1 | out-null

Expand Down
29 changes: 0 additions & 29 deletions scripts/Publish-Artifacts.ps1

This file was deleted.

45 changes: 0 additions & 45 deletions scripts/modules.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -89,51 +89,6 @@ New-Module -ScriptBlock {
$output
}

<#
function Run-Job([string[]]$Command, [switch]$Fatal, [switch]$Quiet, [int]$Timeout = 0) {
#Write-Host "ARGS $Command"
$cmd = $Command
$output = ""
$exitCode = 0
$errorStr = "failed"
set-psdebug -trace 2
#$script = [ScriptBlock]::Create($Command.ToString() + ' 2>&1 | %{ "$_" }' + {; if ($LastExitCode -ne 0) throw "Failed" }}.ToString())
#$script = [ScriptBlock]::Create("& `$args[0] " + ' 2>&1 | %{ "$_" }' + {; if ($LastExitCode -ne 0) { throw "Failed" }}.ToString())
#$script = { & $args[0] $args[1] 2>&1 | %{ "$_" } ; if ($LastExitCode -ne 0) { throw "Failed" }}
& $scriptsDirectory\clearerror.cmd
$script = { & (@$args[0]) }
$job = Start-Job -ScriptBlock $script -ArgumentList (,$cmd)
$state = Wait-Job -Timeout $Timeout $job
if (!$state) {
$exitCode = 2
$errorStr = "timed out"
} else {
$output = Receive-Job $job
Write-Host $output
if ($job.State -eq 'Failed') {
$exitCode = 1
}
}
if (!$? -and $LastExitCode -ne 0) {
$exitCode = $LastExitCode
} elseif ($? -and $LastExitCode -ne 0) {
$exitCode = $LastExitCode
}
if ($exitCode -ne 0) {
if (!$Fatal) {
Write-Host "``$Command`` $errorStr" $output
} else {
Die $exitCode "``$Command`` $errorStr" $output
}
}
$output
}
#>

function Create-TempDirectory {
$path = Join-Path ([System.IO.Path]::GetTempPath()) ([System.IO.Path]::GetRandomFileName())
New-Item -Type Directory $path
Expand Down
1 change: 0 additions & 1 deletion scripts/modules/Versioning.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ New-Module -ScriptBlock {

function Write-Version([System.Version]$version) {
Write-VersionVsixManifest $version
Write-VersionInstaller $version
Write-VersionSolutionInfo $version
Write-VersionAppVeyor $version
Push-Location $rootDirectory
Expand Down
43 changes: 0 additions & 43 deletions scripts/modules/WiX.ps1

This file was deleted.

10 changes: 0 additions & 10 deletions src/GitHub.VisualStudio/GitHub.VisualStudio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,6 @@
<DeployExtension>False</DeployExtension>
<OutputPath>..\..\build\Release\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Publish|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<RunCodeAnalysis>false</RunCodeAnalysis>
<DeployExtension>False</DeployExtension>
<OutputPath>..\..\build\Release\</OutputPath>
</PropertyGroup>
<Import Project="..\common\signing.props" />
<ItemGroup>
<Reference Include="EditorUtils2013">
Expand Down
79 changes: 0 additions & 79 deletions src/MsiInstaller/MsiInstaller.wixproj

This file was deleted.

81 changes: 0 additions & 81 deletions src/MsiInstaller/Product.wxs

This file was deleted.

10 changes: 0 additions & 10 deletions src/MsiInstaller/ProductInfo.wxi

This file was deleted.

4 changes: 0 additions & 4 deletions src/MsiInstaller/Version.wxi

This file was deleted.

5 changes: 0 additions & 5 deletions src/MsiInstaller/Vsix.wxi

This file was deleted.

Binary file removed src/MsiInstaller/logo.ico
Binary file not shown.
4 changes: 0 additions & 4 deletions src/MsiInstaller/packages.config

This file was deleted.

0 comments on commit 24a3b9f

Please sign in to comment.