Haxe Chocolatey Packaging Scripts
This repository contains a script that can be used to generate the chocolatey package for Haxe.
To generate the package, the zipped binaries need to be put in the root directory, as well as the LICENSE.txt
file. They should be called haxe-${version}-win.zip
and haxe-${version}-win64.zip
, where version
is the haxe version. For example, haxe-4.2.4-win.zip
and haxe-4.2.4-win64.zip
.
The Build-Package.ps1
script should be run in powershell to generate the package.
Example usage:
.\Build-Package -Version 4.2.4 # builds the package contents in the .\out directory
.\Build-Package -Version 4.2.4 -Output C:\some\path # builds them into the specified directory
This prepares the package contents in the output directory, which can then be packaged by doing:
cd .\out # or wherever the output is
choco pack