TextmateFcsh

Compiles flex in textmate with FCSH. Provides clickable error reports, so errors can be fast and easily fixed.

Screencast

Watch a textmate_fcsh screencast here: jaapvandermeer.com/2010/03/01/textmatefcsh-compile-flex-in-textmate-using-fcsh/

Prerequisites

Make sure:

  • fcsh is in your path

  • git is installed

Installation

# install textmate_fcsh
gem install textmate_fcsh

# install textmate bundle
textmate_fcsh -i

Setup of new project

# go into your project dir
cd as3_project_dir

# Creates compiler instruction file: .textmate_fcsh
textmate_fcsh -c

# open .textmate_fcsh and adapt compiler settings.
# You can add every directive that mxmlc understands. (underscores are translated to dashes)

Run

In project dir type:

# This will launch continuous compiler, that watches the paths added to source_path in source_path.
textmate_fcsh

This will launch a new browser window with an error report. Every time you make a change, it will recompile and push the changes to your browser.

Growl integration

Follow instructions at blog.chrislowis.co.uk/2010/07/06/growl-notifications-from-ruby-on-osx.html to enable growl.

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Copyright © 2010 Jaap van der Meer. See LICENSE for details.