Created
June 15, 2017 16:53
-
-
Save shajra/22e498ea9b4501643e6ae5f26df181b1 to your computer and use it in GitHub Desktop.
QUIZ: What is compile:foo?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val foo = settingKey[Int]("foo") | |
val bar = settingKey[Int]("bar") | |
val baz = settingKey[Int]("baz") | |
inConfig(Compile)(foo := bar.value) | |
bar := 1 | |
bar in Compile := baz.value | |
baz := 2 | |
baz in Compile := 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the answer to this in an SBT console?