Skip to content

Using haxelib libraries

devboy edited this page Apr 4, 2012 · 1 revision

You can use libraries via haxelib in buildr-hx by using the haxelib() method. To include it in your compilation you just add it to the compile task as a dependency via compile.with.

define "MyProject" do
  compile.using :hxswf # Or any other haXe compiler
  compile.with haxelib("actuate:1.38")
end

You pass a string to the haxelib method that defines the library name and it's version divided by a colon. For buildr-hx the version of the haxlib library is mandatory.

Clone this wiki locally