invariant
invariant

Reputation: 8900

is it possible to check whether file/folder is modified in sourceGenerators task

I am using sbt sourceGenerators task for code generation. i want to skip all files/folders that are unchanged during processing.How can i check if a particular file/folder inside src/main/scala is changed or not ...

Upvotes: 2

Views: 72

Answers (1)

OlegYch
OlegYch

Reputation: 1097

this is usually done using sbt.util.Tracked, there are some examples in sbt itself

Upvotes: 0

Related Questions