redistHelper

A script to help package a HL/JS/Flash redistribuable from an existing project.
https://github.com/deepnight/haxeRedist

To install, run:

haxelib install redistHelper 0.7.6 

See using Haxelib in Haxelib documentation for more information.

README.md

About

A small script to quickly create redistribuable of an existing simple HL/JS/SWF haxe project.

It will copy all the required files in a specified folder ("redist" by default), so you just have to distribute this folder content. Especially useful to package a HashLink (HL) project.

Install

haxelib install redistHelper

Usage

USAGE:
    haxelib run redistHelper [-o <outputFolder>] [-p <project_name>] [<hxml1>] [<hxml2>] [<hxml3>]
NOTES:
    If no HXML is given, the script will pick all HXMLs found in current directory.
    If no Project Name is set, the current folder name will be used.
EXAMPLES:
    haxelib run redistHelper      // automatically finds HXMLs and build them into ./redist/
    haxelib run redistHelper hashlink.hxml -o someFolder -p MyGreatGame
    haxelib run redistHelper hashlink.hxml flash.hxml webgl.hxml

Parameters

  • -o <output_folder> : specify folder where all redist files will be copied. Note: this folder and its content will be erased each time the script is ran! Make sure it doesn't contain important stuff (a few basic checks are done, just in case). Default is "redist".
  • -p <project_name> : change the file names of each build (like .js for JS target or .exe for HL). Default is the current folder name.
  • <hxml_N> : depending on the target as defined inside the HXML, all the corresponding runtime files will be created in the output_folder. You can pass multiple HXML files (separated by a space) to package multiple builds in one pass. Supports JS, HL and SWF target so far. If you don't give any HXML parameter, the script will just explore current folder to gather them. Only HXMLs with compatible output will be used.
Contributors
sbenard
Version
0.7.6
Published
2 years ago
Dependencies
License
Apache

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub