feat: Erlang R16B01
This commit is contained in:
28
Erlang16/Erlang16.nuspec
Normal file
28
Erlang16/Erlang16.nuspec
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Erlang16</id>
|
||||
<title>Erlang OTP</title>
|
||||
<version>16.01</version>
|
||||
<authors>Joe Armstrong, Ericsson, Erlang Contributors</authors>
|
||||
<owners>Ethan J Brown</owners>
|
||||
<summary>Erlang R16B01 is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of its uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance.</summary>
|
||||
<description>What is Erlang?
|
||||
|
||||
Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of its uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance.
|
||||
|
||||
Erlang quickstart
|
||||
|
||||
What is OTP?
|
||||
|
||||
OTP is set of Erlang libraries and design principles providing middle-ware to develop these systems. It includes its own distributed database, applications to interface towards other languages, debugging and release handling tools.</description>
|
||||
<releaseNotes>http://www.erlang.org/download/otp_src_R16B01.readme</releaseNotes>
|
||||
<projectUrl>http://www.erlang.org/</projectUrl>
|
||||
<tags>erlang concurrent programming language sdk otp</tags>
|
||||
<licenseUrl>http://www.erlang.org/EPLICENSE</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<iconUrl>https://github.com/Iristyle/ChocolateyPackages/raw/master/Erlang16/erlang-logo.png</iconUrl>
|
||||
<dependencies>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
BIN
Erlang16/erlang-logo.png
Normal file
BIN
Erlang16/erlang-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
21
Erlang16/tools/chocolateyInstall.ps1
Normal file
21
Erlang16/tools/chocolateyInstall.ps1
Normal file
@@ -0,0 +1,21 @@
|
||||
$package = 'Erlang'
|
||||
$version = 'R16B01'
|
||||
|
||||
try {
|
||||
$params = @{
|
||||
PackageName = $package;
|
||||
FileType = 'exe';
|
||||
#uses NSIS installer - http://nsis.sourceforge.net/Docs/Chapter3.html
|
||||
SilentArgs = '/S';
|
||||
Url = "http://www.erlang.org/download/otp_win32_$($version).exe";
|
||||
Url64Bit = "http://www.erlang.org/download/otp_win64_$($version).exe";
|
||||
}
|
||||
|
||||
Install-ChocolateyPackage @params
|
||||
|
||||
Write-ChocolateySuccess $package
|
||||
} catch {
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
||||
|
28
Erlang16/tools/chocolateyUninstall.ps1
Normal file
28
Erlang16/tools/chocolateyUninstall.ps1
Normal file
@@ -0,0 +1,28 @@
|
||||
$package = 'Erlang'
|
||||
$installFolder = 'erl5.10.2'
|
||||
|
||||
try
|
||||
{
|
||||
$installPath = (Join-Path "${Env:\ProgramFiles(x86)}" $installFolder),
|
||||
(Join-Path $Env:ProgramFiles $installFolder) |
|
||||
? { Test-Path $_ } |
|
||||
Select -First 1
|
||||
|
||||
$uninstall = Join-Path $installPath 'uninstall.exe'
|
||||
|
||||
#uses NSIS installer - http://nsis.sourceforge.net/Docs/Chapter3.html
|
||||
$uninstallParams = @{
|
||||
PackageName = $package;
|
||||
FileType = 'exe';
|
||||
SilentArgs = '/S';
|
||||
File = $uninstall;
|
||||
}
|
||||
|
||||
Uninstall-ChocolateyPackage @uninstallParams
|
||||
Write-ChocolateySuccess $package
|
||||
}
|
||||
catch
|
||||
{
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
Reference in New Issue
Block a user