feat: Sublime Text 3 package control 2.0.0-alpha9

- requires a git clone instead of a simple package file download now
This commit is contained in:
Iristyle
2013-07-23 17:01:20 -04:00
parent 3a0d9b6251
commit aabdb2b6ca
2 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
function Get-CurrentDirectory
{
$thisName = $MyInvocation.MyCommand.Name
[IO.Path]::GetDirectoryName((Get-Content function:$thisName).File)
}
try {
$package = 'SublimeText3.PackageControl'
$current = Get-CurrentDirectory
. (Join-Path $current 'SublimeHelpers.ps1')
Install-SublimePackageControl -Version 3
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}