mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-18 22:23:07 -03:00
travis configuration
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
This commit is contained in:
@ -15,24 +15,3 @@ unmanagedClasspath in Runtime += baseDirectory.value / "shared"
|
||||
unmanagedClasspath in Compile += baseDirectory.value / "shared"
|
||||
testOptions += Tests.Argument(TestFrameworks.JUnit)
|
||||
|
||||
lazy val buildNative = taskKey[Unit]("builds native code")
|
||||
|
||||
buildNative := {
|
||||
val res = "make"!;
|
||||
if (res != 0) throw new RuntimeException("unable to generate shared libraries and native jar bindings")
|
||||
}
|
||||
|
||||
test := {
|
||||
buildNative.value
|
||||
(test in Test).value
|
||||
}
|
||||
|
||||
compile := {
|
||||
buildNative.value
|
||||
(compile in Compile).value
|
||||
}
|
||||
|
||||
assembly := {
|
||||
buildNative.value
|
||||
assembly.value
|
||||
}
|
||||
|
Reference in New Issue
Block a user