Skip to content

Commit

Permalink
Reconcile line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed Oct 22, 2016
1 parent 128baf7 commit b9b5270
Show file tree
Hide file tree
Showing 86 changed files with 1,686 additions and 1,686 deletions.
64 changes: 32 additions & 32 deletions .gitignore
@@ -1,32 +1,32 @@
*~
*.bak
*.cache
*.nupkg
*.old
*.orig
*.swp
*.swo
*.suo
*.test
*.work
*.handover
*.new
*.exist
*-orig.*
Thumbs.db
.DS_Store
_ReSharper*
*.resharper
New folder*
New Text Document*.txt
obj
*/working
ketarin/soluto.xml
*.stackdump
update_vars.ps1
update_info.xml
Update-AUPackages.md
/jobs.db
*.log
*.log.full
automatic/_output/
*~
*.bak
*.cache
*.nupkg
*.old
*.orig
*.swp
*.swo
*.suo
*.test
*.work
*.handover
*.new
*.exist
*-orig.*
Thumbs.db
.DS_Store
_ReSharper*
*.resharper
New folder*
New Text Document*.txt
obj
*/working
ketarin/soluto.xml
*.stackdump
update_vars.ps1
update_info.xml
Update-AUPackages.md
/jobs.db
*.log
*.log.full
automatic/_output/
402 changes: 201 additions & 201 deletions LICENSE.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion automatic/Brackets/Brackets.nuspec
Expand Up @@ -2,7 +2,7 @@
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>Brackets</id>
<title>Brackets</title>
<title>Brackets</title>
<owners>chocolatey</owners>
<version>1.7</version>
<authors>Adobe</authors>
Expand Down
44 changes: 22 additions & 22 deletions automatic/Brackets/tools/chocolateyInstall.ps1
@@ -1,22 +1,22 @@
$ErrorActionPreference = 'Stop'

$packageName = 'brackets'
$url32 = 'https://github.com/adobe/brackets/releases/download/release-1.7/Brackets.Release.1.7.msi'
$url64 = $url32
$checksum32 = 'f5c8d66eba8cdb67c607aa818ec93a7a0a578764782fc7b414ce91a1764b4aff'
$checksum64 = $checsum32

$packageArgs = @{
packageName = $packageName
fileType = 'MSI'
url = $url32
url64bit = $url64
checksum = $checksum32
checksum64 = $checksum64
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = '/q /norestart'
validExitCodes = @(0)
registryUninstallerKey = $packageName
}
Install-ChocolateyPackage @packageArgs
$ErrorActionPreference = 'Stop'

$packageName = 'brackets'
$url32 = 'https://github.com/adobe/brackets/releases/download/release-1.7/Brackets.Release.1.7.msi'
$url64 = $url32
$checksum32 = 'f5c8d66eba8cdb67c607aa818ec93a7a0a578764782fc7b414ce91a1764b4aff'
$checksum64 = $checsum32

$packageArgs = @{
packageName = $packageName
fileType = 'MSI'
url = $url32
url64bit = $url64
checksum = $checksum32
checksum64 = $checksum64
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = '/q /norestart'
validExitCodes = @(0)
registryUninstallerKey = $packageName
}
Install-ChocolateyPackage @packageArgs
52 changes: 26 additions & 26 deletions automatic/Brackets/update.ps1
@@ -1,26 +1,26 @@
import-module au

$releases = 'http://brackets.io'

function global:au_SearchReplace {
@{
".\tools\chocolateyInstall.ps1" = @{
"(^[$]url32\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'"
"(^[$]checksum32\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
}
}
}

function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases
$download_page.links | ? InnerText -match 'Download Brackets' | % InnerText | set version
$version = $version -replace 'Download Brackets '

$download_page = Invoke-WebRequest https://github.com/adobe/brackets/releases
$url = $download_page.links | ? href -match '\.msi$' | ? href -match '1.7' | % href | select -First 1
$url = 'https://github.com' + $url

@{ URL32 = $url; Version = $version }
}

update -ChecksumFor 32
import-module au

$releases = 'http://brackets.io'

function global:au_SearchReplace {
@{
".\tools\chocolateyInstall.ps1" = @{
"(^[$]url32\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'"
"(^[$]checksum32\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
}
}
}

function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases
$download_page.links | ? InnerText -match 'Download Brackets' | % InnerText | set version
$version = $version -replace 'Download Brackets '

$download_page = Invoke-WebRequest https://github.com/adobe/brackets/releases
$url = $download_page.links | ? href -match '\.msi$' | ? href -match '1.7' | % href | select -First 1
$url = 'https://github.com' + $url

@{ URL32 = $url; Version = $version }
}

update -ChecksumFor 32
2 changes: 1 addition & 1 deletion automatic/Clover/Clover.nuspec
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>{{PackageName}}</id>
<title>Clover</title>
<title>Clover</title>
<owners>chocolatey</owners>
<version>{{PackageVersion}}</version>
<authors>EJIE Technology</authors>
Expand Down
14 changes: 7 additions & 7 deletions automatic/Clover/tools/chocolateyInstall.ps1
@@ -1,7 +1,7 @@
$packageName = '{{PackageName}}'
$installerType = 'exe'
$url = '{{DownloadUrl}}'
$silentArgs = '/S'
$validExitCodes = @(0)

Install-ChocolateyPackage $packageName $installerType $silentArgs $url -validExitCodes $validExitCodes
$packageName = '{{PackageName}}'
$installerType = 'exe'
$url = '{{DownloadUrl}}'
$silentArgs = '/S'
$validExitCodes = @(0)

Install-ChocolateyPackage $packageName $installerType $silentArgs $url -validExitCodes $validExitCodes
82 changes: 41 additions & 41 deletions automatic/Cygwin/tools/chocolateyInstall.ps1
@@ -1,41 +1,41 @@
$packageName = '{{PackageName}}'
$installerType = 'exe'
$url = '{{DownloadUrl}}'
$url64 = '{{DownloadUrlx64}}'
$validExitCodes = @(0)

# Set the default install path to Bin-Root
$binRoot = Get-BinRoot
$cygRoot = Join-Path $binRoot 'cygwin'

# https://cygwin.com/faq/faq.html#faq.setup.cli
$silentArgs = $(
"--quiet-mode " +
"--site http://mirrors.kernel.org/sourceware/cygwin/ " +
"--no-desktop" +
"--packages default"
)

# These install arguments are only appended to the silent args
# if Cygwin is installed for the first time, otherwise these
# values are already set.
$firstInstallArgs = $(
"--root $cygRoot " +
"--local-package-dir $cygRoot"
)

# Check if Cygwin is already installed
$alreadyInstalled = Test-Path 'HKLM:\SOFTWARE\Cygwin\setup'

if (!$alreadyInstalled) {
$silentArgs = $silentArgs + ' ' + $firstInstallArgs
}
# Configure --local-package-dir for subsequent or pre-existing installs
# (otherwise they get dropped in $ENV:ChocolateyInstall)
Else {
$cygRoot = (Get-ItemProperty 'HKLM:\SOFTWARE\Cygwin\setup').rootdir
$silentArgs = $silentArgs + ' ' + "--local-package-dir $cygRoot"
}

Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 -validExitCodes $validExitCodes
Install-BinFile -Name "Cygwin" -Path "$cygRoot\Cygwin.bat"
$packageName = '{{PackageName}}'
$installerType = 'exe'
$url = '{{DownloadUrl}}'
$url64 = '{{DownloadUrlx64}}'
$validExitCodes = @(0)

# Set the default install path to Bin-Root
$binRoot = Get-BinRoot
$cygRoot = Join-Path $binRoot 'cygwin'

# https://cygwin.com/faq/faq.html#faq.setup.cli
$silentArgs = $(
"--quiet-mode " +
"--site http://mirrors.kernel.org/sourceware/cygwin/ " +
"--no-desktop" +
"--packages default"
)

# These install arguments are only appended to the silent args
# if Cygwin is installed for the first time, otherwise these
# values are already set.
$firstInstallArgs = $(
"--root $cygRoot " +
"--local-package-dir $cygRoot"
)

# Check if Cygwin is already installed
$alreadyInstalled = Test-Path 'HKLM:\SOFTWARE\Cygwin\setup'

if (!$alreadyInstalled) {
$silentArgs = $silentArgs + ' ' + $firstInstallArgs
}
# Configure --local-package-dir for subsequent or pre-existing installs
# (otherwise they get dropped in $ENV:ChocolateyInstall)
Else {
$cygRoot = (Get-ItemProperty 'HKLM:\SOFTWARE\Cygwin\setup').rootdir
$silentArgs = $silentArgs + ' ' + "--local-package-dir $cygRoot"
}

Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 -validExitCodes $validExitCodes
Install-BinFile -Name "Cygwin" -Path "$cygRoot\Cygwin.bat"
4 changes: 2 additions & 2 deletions automatic/Cygwin/tools/chocolateyUninstall.ps1
@@ -1,2 +1,2 @@
Remove-Item 'HKLM:\SOFTWARE\Cygwin' -Recurse -ErrorAction SilentlyContinue
Uninstall-BinFile -Name Cygwin
Remove-Item 'HKLM:\SOFTWARE\Cygwin' -Recurse -ErrorAction SilentlyContinue
Uninstall-BinFile -Name Cygwin
2 changes: 1 addition & 1 deletion automatic/Firefox/Firefox.nuspec
Expand Up @@ -7,7 +7,7 @@
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/e4a49519947c3cff55c17a0b08266c56b0613e64/icons/firefox.png</iconUrl>
<licenseUrl>https://www.mozilla.org/en-US/MPL/2.0/</licenseUrl>
<id>{{PackageName}}</id>
<title>Mozilla Firefox</title>
<title>Mozilla Firefox</title>
<owners>chocolatey</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
Expand Down

0 comments on commit b9b5270

Please sign in to comment.