aboutsummaryrefslogtreecommitdiff
path: root/jni-plugin/src/main/scala/ch/jodersky/sbt/jni/build/BuildToolApi.scala
blob: 47d9a90eac1bf2b76a9c40f6c26e5d8b9b5a246e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package ch.jodersky.sbt.jni
package build

import java.io.File
import sbt.Logger


trait BuildToolApi {

  /** Invokes the native build tool's clean task */
  def clean(baseDirectory: File, log: Logger): Unit 

  /**
    * Invokes the native build tool's main task, resulting in a single shared
    * library file.
    */
  def library(
    baseDirectory: File,
    targetDirectory: File,
    log: Logger
  ): File

}