Coder Social home page Coder Social logo

bradparks / redisthelper__a-small-script-to-quickly-create-redistribuable-of-an-existing-simple-hl-js-swf-haxe-p Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deepnight/redisthelper

0.0 0.0 0.0 4.3 MB

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

License: Apache License 2.0

Haxe 96.08% HTML 3.92%

redisthelper__a-small-script-to-quickly-create-redistribuable-of-an-existing-simple-hl-js-swf-haxe-p's Introduction

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 redisHelper      // automatically finds HXMLs and build them into ./redist/
    haxelib run redisHelper hashlink.hxml -o someFolder -p MyGreatGame
    haxelib run redisHelper 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 <project_name>.js for JS target or <project_name>.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.

redisthelper__a-small-script-to-quickly-create-redistribuable-of-an-existing-simple-hl-js-swf-haxe-p's People

Contributors

deepnight avatar yann-p avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.