mirror of https://github.com/sbt/sbt.git
Docs: fix taskKey usage in Custom Settings example
Following commentary on 126f41c0ac
This commit is contained in:
parent
76965895d0
commit
a93767961c
|
|
@ -51,9 +51,9 @@ with a task definition. You could be defining your own task, or you
|
|||
could be planning to redefine an existing task. Either way looks the
|
||||
same; use `:=` to associate some code with the task key: ::
|
||||
|
||||
val sampleStringTask = settingKey[String]("A sample string task.")
|
||||
val sampleStringTask = taskKey[String]("A sample string task.")
|
||||
|
||||
val sampleIntTask = settingKey[String]("A sample int task.")
|
||||
val sampleIntTask = taskKey[Int]("A sample int task.")
|
||||
|
||||
sampleStringTask := System.getProperty("user.home")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue