aboutsummaryrefslogblamecommitdiff
path: root/jni-plugin/src/main/scala/ch/jodersky/sbt/jni/build/BuildToolApi.scala
blob: 47d9a90eac1bf2b76a9c40f6c26e5d8b9b5a246e (plain) (tree)






















                                                                             
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

}