File tree 4 files changed +55
-0
lines changed
4 files changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ <h1 align =center >Package Managers Configurations</h1 >
2
+
3
+ The following folder contains the configuration files of all the package managers under the control of the scala organisation.
4
+
5
+ - [ chocolatey] ( chocolatey ) : Configuration files for Chocolatey
Original file line number Diff line number Diff line change
1
+ <h1 align =center >Configuration for Chocolatey</h1 >
2
+
3
+ Official support for Chocolatey started by the release of Scala 3.5.0
4
+
5
+ > [ !IMPORTANT]
6
+ > This folder contains the templates to generate the configuration for Chocolatey.
7
+ > The ` scala.nuspec ` and ` chocolateyinstall.ps1 ` files needs to be rewritten by changing the following placeholders:
8
+ > - @LAUNCHER_VERSION@ : Placeholder for the current scala version to deploy
9
+ > - @LAUNCHER_URL@ : Placeholder for the URL to the msi released on GitHub
10
+ > - @LAUNCHER_SHA256@ : Placeholder for the SHA256 of the msi file released on GitHub
Original file line number Diff line number Diff line change
1
+ $ErrorActionPreference = ' Stop' ;
2
+ $packageArgs = @ {
3
+ packageName = ' scala'
4
+ fileType = ' MSI'
5
+ url64bit = ' @LAUNCHER_URL@'
6
+
7
+ softwareName = ' Scala CLI'
8
+ checksum64 = ' @LAUNCHER_SHA256@'
9
+ checksumType64 = ' sha256'
10
+
11
+ silentArgs = " /qn /norestart"
12
+ validExitCodes = @ (0 )
13
+ }
14
+
15
+ Install-ChocolateyPackage @packageArgs
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <package xmlns =" http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd" >
3
+ <metadata >
4
+ <id >scala</id >
5
+ <version >@LAUNCHER_VERSION@</version >
6
+ <title >Scala</title >
7
+ <authors >scala</authors >
8
+ <owners >scala</owners >
9
+ <tags >scala</tags >
10
+ <summary >Scala</summary >
11
+ <description >Official release of the Scala Programming Language on Chocolatey.</description >
12
+ <packageSourceUrl >https://github.com/scala/scala3/tree/main/pkgs/chocolatey</packageSourceUrl >
13
+ <projectSourceUrl >https://github.com/scala/scala3</projectSourceUrl >
14
+ <projectUrl >https://scala-lang.org/</projectUrl >
15
+ <bugTrackerUrl >https://github.com/scala/scala3/issues</bugTrackerUrl >
16
+ <copyright >© 2002-2024, LAMP/EPFL</copyright >
17
+ <!-- <iconUrl>https://cdn.jsdelivr.net/gh/scala/scala-cli@e4c0eb72276ae77e689c61a83230ec16324791e8/.github/scripts/choco/logo.ico</iconUrl>-->
18
+ <licenseUrl >https://github.com/scala/scala3/blob/main/LICENSE</licenseUrl >
19
+ <requireLicenseAcceptance >true</requireLicenseAcceptance >
20
+ <releaseNotes >https://github.com/scala/scala3/releases</releaseNotes >
21
+ </metadata >
22
+ <files >
23
+ <file src =" tools\**" target =" tools" />
24
+ </files >
25
+ </package >
You can’t perform that action at this time.
0 commit comments