Created
January 11, 2015 00:37
-
-
Save Duhemm/b0c1200c3d322c0f51e5 to your computer and use it in GitHub Desktop.
Recompile macro provider whenever one of its transitive dependencies is changed
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
Project: https://github.com/Duhemm/macro-transitive-dependencies |
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
> macro-client/run | |
############################################################################################################################### | |
Deps of /macro-provider/src/main/scala/Provider.scala are Set() | |
- external deps of /macro-provider/src/main/scala/Provider.scala not changed: internal deps: Set(/macro-provider/src/main/scala/Relay4.scala) | |
+ Looking into /macro-provider/src/main/scala/Relay4.scala | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
Deps of /macro-provider/src/main/scala/Relay4.scala are Set(macros.Relay3$) | |
- macros.Relay3$ not changed: maybe one of its transitive deps ? | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
Deps of /helper/src/main/scala/Relay3.scala are Set() | |
- external deps of /helper/src/main/scala/Relay3.scala not changed: internal deps: Set(/helper/src/main/scala/Relay2.scala) | |
+ Looking into /helper/src/main/scala/Relay2.scala | |
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& | |
Deps of /helper/src/main/scala/Relay2.scala are Set(macros.Helper$) | |
- macros.Helper$ not changed: maybe one of its transitive deps ? | |
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
Deps of /deep-helper/src/main/scala/Helper.scala are Set() | |
- external deps of /deep-helper/src/main/scala/Helper.scala not changed: internal deps: Set() | |
- external deps of /helper/src/main/scala/Relay2.scala not changed: internal deps: Set() | |
- external deps of /macro-provider/src/main/scala/Relay4.scala not changed: internal deps: Set() | |
[info] Running macros.Client | |
1 | |
[success] Total time: 1 s, completed Jan 11, 2015 1:27:27 AM | |
// | |
// Change the return value of Helper.foo f | |
// | |
> macro-client/run | |
[info] Compiling 1 Scala source to /deep-helper/target/scala-2.11/classes... | |
############################################################################################################################### | |
Deps of /macro-provider/src/main/scala/Provider.scala are Set() | |
- external deps of /macro-provider/src/main/scala/Provider.scala not changed: internal deps: Set(/macro-provider/src/main/scala/Relay4.scala) | |
+ Looking into /macro-provider/src/main/scala/Relay4.scala | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
Deps of /macro-provider/src/main/scala/Relay4.scala are Set(macros.Relay3$) | |
- macros.Relay3$ not changed: maybe one of its transitive deps ? | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
Deps of /helper/src/main/scala/Relay3.scala are Set() | |
- external deps of /helper/src/main/scala/Relay3.scala not changed: internal deps: Set(/helper/src/main/scala/Relay2.scala) | |
+ Looking into /helper/src/main/scala/Relay2.scala | |
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& | |
Deps of /helper/src/main/scala/Relay2.scala are Set(macros.Helper$) | |
* macros.Helper$ has been recompiled ! | |
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& | |
[info] Compiling 1 Scala source to /macro-provider/target/scala-2.11/classes... | |
[warn] there were 1 deprecation warning(s); re-run with -deprecation for details | |
[warn] one warning found | |
[info] Compiling 1 Scala source to /macro-client/target/scala-2.11/classes... | |
[info] Running macros.Client | |
2 | |
[success] Total time: 3 s, completed Jan 11, 2015 1:28:27 AM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment