diff --git a/README.md b/README.md index 4128050..4bebc0a 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,12 @@ -# Gulp HaXe Tool +# HaXeTool [![test](https://git.shmyga.ru/InfernalGames/gulp-haxetool/actions/workflows/test.yaml/badge.svg?branch=master)](https://git.shmyga.ru/InfernalGames/gulp-haxetool/actions?workflow=test.yaml) ## Introducing -### Dignity +Tool for simple building and pack HaXe and OpenFl project -- Automatically download HaXe SDK, Neko, FlashPlayer (or RufflePlayer), Android SDK. -- Universal project config for simple HaXe build and OpenFL build. -- Branch project config for many build presets (many OpenFL apps in one project). -- Packaging linux output in DEB. -- Packaging windows output in exe install with InnoSetup. -- Create html wrapper for flash output. - -### Flaws - -- Hardcode build output in {projectDir}/target (need param in Project.Config). -- HTML5 run output not caught. -- Adobe AIR Build System in progress. -- Windows target depends Visual Studio 2017 build tools - -## Example +## OpenFL Example [Example project](./example) @@ -52,8 +38,8 @@ JSON schema: https://shmyga.ru/public/haxetool.schema.json "buildSystem": "openfl", "platforms": ["flash", "html5", "linux", "windows", "android"], "libs": { - "lime": "8.0.0", - "openfl": "9.2.0", + "lime": "8.3.2", + "openfl": "9.5.2", "hxcpp": "4.2.1" }, "sources": ["src"], @@ -70,7 +56,7 @@ JSON schema: https://shmyga.ru/public/haxetool.schema.json npx hxt ``` -### Build and pack all presets platform variants +### Build and pack all platform variants Results places in `target` directory @@ -91,9 +77,19 @@ npx hxt app:android:test npx hxt app:windows:test ``` +## Dependencies requiring manual installation + +### Windows + +* Visual Studio 2017 build tools + +### Android + +* Java JDK 17 + ## VS Code settings -JSON schema for `haxetool.json` +### JSON schema for `haxetool.json` ```json { diff --git a/example/haxetool.json b/example/haxetool.json index 8dd6877..aacb33c 100644 --- a/example/haxetool.json +++ b/example/haxetool.json @@ -2,7 +2,6 @@ "app": { "buildSystem": "openfl", "platforms": ["flash", "html5", "linux", "windows", "android"], - "haxe": "4.2.5", "libs": { "lime": "8.3.2", "openfl": "9.5.2", diff --git a/src/impl/ruffle.ts b/src/impl/ruffle.ts index d6d1b0f..28618bd 100755 --- a/src/impl/ruffle.ts +++ b/src/impl/ruffle.ts @@ -14,7 +14,7 @@ export class RufflePlayer extends FlashPlayer { static VERSION_0_5_0 = "0.5.0"; static VERSION_0_6_0 = "0.6.0"; static VERSION_0_7_1 = "0.7.1"; - static VERSION = RufflePlayer.VERSION_2026_10_13; + static VERSION = RufflePlayer.VERSION_0_7_1; BASE_URL = "https://github.com/ruffle-rs/ruffle/releases/download";