[
https://issues.apache.org/jira/browse/THRIFT-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-6003.
--------------------------------
Fix Version/s: 0.24.0
Resolution: Fixed
> Add Haxe codegen test script and GitHub Actions CI job
> ------------------------------------------------------
>
> Key: THRIFT-6003
> URL: https://issues.apache.org/jira/browse/THRIFT-6003
> Project: Thrift
> Issue Type: New Feature
> Components: Build Process, Haxe - Compiler, Haxe - Library
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Priority: Major
> Fix For: 0.24.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The development fork contains run-Haxe-Codegen-Tests.ps1, a PowerShell script
> that tests the Haxe code generator by running the Thrift compiler on every
> .thrift file in the repository and then compiling the generated Haxe code
> against the Thrift library to JavaScript (html5 target).
> A key requirement is that the Haxe library from the local code tree is used
> (via haxelib dev) rather than the published version from the haxelib
> registry, ensuring that compiler and library always match.
> This ticket covers:
> - Adding run-Haxe-Codegen-Tests.ps1 to lib/haxe/codegen/ in the upstream
> repository
> - Extending the script with a -TargetFolder parameter (configurable temp
> output dir, default: system temp) and an optional -ExtraThriftFiles parameter
> for additional .thrift search paths
> - Adding a new lib-haxe-codegen job to .github/workflows/build.yml using
> krdlab/setup-haxe, haxelib dev for the local Thrift library, and the
> pre-built thrift-compiler artifact from the compiler job
--
This message was sent by Atlassian Jira
(v8.20.10#820010)