openfl/openfl-tools — pull request #14 by underscorediscovery (2013-07-13 01:13:36+00:00)
Title: Remove OpenFL dependency on running the tools

When calling openfl-tools and openfl is not installed, it throws a (silent, I think) error, but the command line tools don't appear to be using the openfl haxelib code only in the getVersion function.

This change moves the dependency to only trigger when called with openfl project flags, and only inside the getVersion function where it is actually used.