summaryrefslogtreecommitdiff
path: root/main/api/src/mill/api/BspCompileArguments.scala
blob: 73586cc8f58aaf732515bd4b96f78774672fd752 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package mill.api

/**
  * Data structure to represent Bsp client-specified
  * compilation arguments
  */
class BspCompileArguments {
  var arguments: Seq[String] = Seq.empty[String]

  /**
    * Return the compilation arguments specified by the
    * Bsp client, which may or may not be found in the
    * compiler options of any module from the build file.
    */
  def args: Seq[String] = {
    arguments
  }
}