sbt-haxe alternatives and similar packages
Based on the "Sbt plugins" category.
Alternatively, view sbt-haxe alternatives based on common mentions on social networks and blogs.
-
sbt-assembly
Deploy über-JARs. Restart processes. (port of codahale/assembly-sbt) -
sbt-dependency-graph
sbt plugin to create a dependency graph for your project -
sbt-jmh
"Trust no one, bench everything." - sbt plugin for JMH (Java Microbenchmark Harness) -
sbt-revolver
An SBT plugin for dangerously fast development turnaround in Scala -
sbt-updates
sbt plugin that can check Maven and Ivy repositories for dependency updates -
better-monadic-for
Desugaring scala `for` without implicit `withFilter`s -
sbt-mima-plugin
A tool for catching binary incompatibility in Scala -
sbt-microsites
An sbt plugin to create awesome microsites for your project -
sbt-ensime
Generates .ensime config files for SBT projects http://ensime.org/build_tools/sbt -
sbt-sonatype
A sbt plugin for publishing Scala/Java projects to the Maven central. -
sbt-ci-release
sbt plugin to automate Sonatype releases from GitHub Actions -
sbt-dependency-check
SBT Plugin for OWASP DependencyCheck. Monitor your dependencies and report if there are any publicly known vulnerabilities (e.g. CVEs). :rainbow: -
sbt-header
sbt-header is an sbt plugin for creating file headers, e.g. copyright headers -
sbt-play-scalajs
SBT plugin to use Scala.js along with any sbt-web server. -
sbt-api-mappings
An Sbt plugin that fills apiMappings for common Scala libraries. -
sbt-unidoc
sbt plugin to create a unified Scaladoc or Javadoc API document across multiple subprojects. -
sbt-sublime
An sbt plugin for generating Sublime Text projects with library dependencies sources -
sbt pom reader plugin
Translates xml -> awesome. Maven-ish support for sbt. -
sbt-scala-js-map
A Sbt plugin that configures source mapping for Scala.js projects hosted on Github -
sbt-versions
Plugin that checks for updated versions of your project's dependencies. -
sbt-pantarhei
sbt plugin building and publishing release notes from github pull requests -
sbt-classfinder
SBT plugin for retrieving runtime information about the classes and traits in a project
Access the most powerful time series database as a service
Do you think we are missing an alternative of sbt-haxe or a related project?
README
sbt-haxe
sbt-haxe is a Sbt plugin to compile Haxe sources in Java/Scala projects.
Usage
Step 1: Install sbt-haxe
into your project
Add the following line to your project/plugins.sbt
:
addSbtPlugin("com.qifun" % "sbt-haxe" % "1.4.1")
Step 2: Put your Haxe sources at src/haxe/yourPackage/YourHaxeClass.hx
package yourPackage;
import haxe.ds.Vector;
class YourHaxeClass
{
public static function main(args:Vector<String>)
{
trace("Hello, World!");
}
}
Step 3: Run it!
$ sbt run
[info] Loading global plugins from C:\Users\user\.sbt\0.13\plugins
[info] Loading project definition from D:\Documents\sbt-haxe-test\project
[info] Set current project to sbt-haxe-test (in build file:/D:/Documents/sbt-haxe-test/)
[info] "haxe" "-cp" "D:\Documents\sbt-haxe-test\src\haxe" "-cp" "D:\Documents\sbt-haxe-test\target\scala-2.10\src_managed\haxe" "-java-lib" "C:\Users\user\.sbt\boot\scala-2.10.3\lib\scala-library.jar" "-java" "D:\cygwin\tmp\sbt_97a26bd9" "-D" "no-compilation" "yourPackage.YourHaxeClass"
[info] Compiling 1 Java source to D:\Documents\sbt-haxe-test\target\scala-2.10\classes...
[info] Running yourPackage.YourHaxeClass
YourHaxeClass.hx:7: Hello, World!
[success] Total time: 1 s, completed 2014-7-25 10:00:23
Targets supported
Currently sbt-haxe
supports all targets that haxe supported, but all of them are disabled by default except java
. If you want to compile to specific target other than java
, you need to enable it manually in build.sbt
.
And here's a sbt-haxe-sample project to show how to use them.
- JavaScript
enablePlugins(HaxeJsPlugin)
- PHP
enablePlugins(HaxePhpPlugin)
- Neko
enablePlugins(HaxeNekoPlugin)
- C#
enablePlugins(HaxeCSharpPlugin)
- Python
enablePlugins(HaxePythonPlugin)
- C++
enablePlugins(HaxeCppPlugin)
- Flash
enablePlugins(HaxeFlashPlugin)
- ActionScript 3
enablePlugins(HaxeAs3Plugin)
Tasks and settings
sbt-haxe
provides following tasks and settings:
- haxe
- haxe:doc
See src/main/scala/com/qifun/sbtHaxe/HaxePlugin.scala for more information.
Dependencies
sbt-haxe
requires Sbt 0.13, Haxe 3.1, hxjava 3.1.0 and Dox 1.0.0.