@@ -1,26 +1,12 @@
|
|||||||
# Gulp HaXe Tool
|
# HaXeTool
|
||||||
|
|
||||||
[](https://git.shmyga.ru/InfernalGames/gulp-haxetool/actions?workflow=test.yaml)
|
[](https://git.shmyga.ru/InfernalGames/gulp-haxetool/actions?workflow=test.yaml)
|
||||||
|
|
||||||
## Introducing
|
## Introducing
|
||||||
|
|
||||||
### Dignity
|
Tool for simple building and pack HaXe and OpenFl project
|
||||||
|
|
||||||
- Automatically download HaXe SDK, Neko, FlashPlayer (or RufflePlayer), Android SDK.
|
## OpenFL Example
|
||||||
- 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
|
|
||||||
|
|
||||||
[Example project](./example)
|
[Example project](./example)
|
||||||
|
|
||||||
@@ -52,8 +38,8 @@ JSON schema: https://shmyga.ru/public/haxetool.schema.json
|
|||||||
"buildSystem": "openfl",
|
"buildSystem": "openfl",
|
||||||
"platforms": ["flash", "html5", "linux", "windows", "android"],
|
"platforms": ["flash", "html5", "linux", "windows", "android"],
|
||||||
"libs": {
|
"libs": {
|
||||||
"lime": "8.0.0",
|
"lime": "8.3.2",
|
||||||
"openfl": "9.2.0",
|
"openfl": "9.5.2",
|
||||||
"hxcpp": "4.2.1"
|
"hxcpp": "4.2.1"
|
||||||
},
|
},
|
||||||
"sources": ["src"],
|
"sources": ["src"],
|
||||||
@@ -70,7 +56,7 @@ JSON schema: https://shmyga.ru/public/haxetool.schema.json
|
|||||||
npx hxt
|
npx hxt
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build and pack all presets platform variants
|
### Build and pack all platform variants
|
||||||
|
|
||||||
Results places in `target` directory
|
Results places in `target` directory
|
||||||
|
|
||||||
@@ -91,9 +77,19 @@ npx hxt app:android:test
|
|||||||
npx hxt app:windows:test
|
npx hxt app:windows:test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Dependencies requiring manual installation
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
|
||||||
|
* Visual Studio 2017 build tools
|
||||||
|
|
||||||
|
### Android
|
||||||
|
|
||||||
|
* Java JDK 17
|
||||||
|
|
||||||
## VS Code settings
|
## VS Code settings
|
||||||
|
|
||||||
JSON schema for `haxetool.json`
|
### JSON schema for `haxetool.json`
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"app": {
|
"app": {
|
||||||
"buildSystem": "openfl",
|
"buildSystem": "openfl",
|
||||||
"platforms": ["flash", "html5", "linux", "windows", "android"],
|
"platforms": ["flash", "html5", "linux", "windows", "android"],
|
||||||
"haxe": "4.2.5",
|
|
||||||
"libs": {
|
"libs": {
|
||||||
"lime": "8.3.2",
|
"lime": "8.3.2",
|
||||||
"openfl": "9.5.2",
|
"openfl": "9.5.2",
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ export class RufflePlayer extends FlashPlayer {
|
|||||||
static VERSION_0_5_0 = "0.5.0";
|
static VERSION_0_5_0 = "0.5.0";
|
||||||
static VERSION_0_6_0 = "0.6.0";
|
static VERSION_0_6_0 = "0.6.0";
|
||||||
static VERSION_0_7_1 = "0.7.1";
|
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";
|
BASE_URL = "https://github.com/ruffle-rs/ruffle/releases/download";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user