Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Analysis.compilation for lastCompilationTime #1272

Closed
gkossakowski opened this issue Apr 18, 2014 · 0 comments
Closed

Use Analysis.compilation for lastCompilationTime #1272

gkossakowski opened this issue Apr 18, 2014 · 0 comments

Comments

@gkossakowski
Copy link
Contributor

The project/Util.scala uses analysis.apis.internal.values.map(_.compilation.startTime) to determine the last time project was recompiled. Since sbt 0.13.0 there's dedicated API in Analysis for that: compilations.

We should migrate to it.

@gkossakowski gkossakowski added this to the 0.13.5 milestone Apr 18, 2014
gkossakowski added a commit to gkossakowski/sbt that referenced this issue Apr 18, 2014
Since sbt 0.13.0, we have dedicated API in Analysis that gives access to
information about all compilations performed since the last time clean
was ran.

By looking at at last compilation we can determine lastCompilationTime
value.

Fixes sbt#1272
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant