@@ -1,26 +1,12 @@
|
||||
# Gulp HaXe Tool
|
||||
# HaXeTool
|
||||
|
||||
[](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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user