Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Build flash project incrementally from Makefile, wrapper around fcsh

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 example
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Setup.hs
Octocat-spinner-32 hsfcsh.cabal
Octocat-spinner-32 hsfcsh.hs
Octocat-spinner-32 hsfcsh_do.hs
README
It is just a wrapper around fcsh. It allows to build flash/flex projects incrementally.
It can be used from Makefile.

The package contains two executables, hsfcsh and hsfcsh_do. The first one is daemon,
hsfcsh_do allows to send commands to the daemon.


Install

- Install flex sdk and add <flex_sdk>/bin to your PATH
- Install haskell platform, add ~/.cabal/bin to your PATH
- `cabal install hsfcsh`


Using

Use `hsfcsh_do spawn` or `hsfcsh_do exit` to start or stop the daemon.
Use `hsfcsh_do compile args` to compile something. It will spawn the daemon if it is not started yet.

The next example will compile Start.mxml from the current directory:
  hsfcsh_do compile -- "$(PWD)/Start.mxml"

The first time it may take few minutes to compile for large projects, but then it will compile
the project incrementally.

You can use hsfcsh_do from Makefile. See example in the corresponding directory.
It will redirect compiler output to the stdout, so you could examine the results (errors, warnings, etc)
or let your editor (vim, emacs) to parse them.

Something went wrong with that request. Please try again.