mpeltonen / sbt-idea

A simple-build-tool (sbt) plugin/processor for creating IntelliJ IDEA project files
Other
1.07k stars 153 forks source link

gen-idea should automatically run update #160

Closed mslinn closed 11 years ago

mslinn commented 12 years ago

Just as compile automatically runs update first, and eclipse does the same, gen-idea should automatically run update before doing its work.

mpeltonen commented 12 years ago

It does run update every time (or at least it should do it...). What makes you think it doesn't?

mslinn commented 12 years ago

Because I get different results if I type this:

sbt gen-idea

or this:

sbt update gen-idea
mpeltonen commented 12 years ago

Hmm, so do you get differing Idea metafiles under .idea* directories with those two commands? Those commands shouldn't make different files, unless there's some bug/feature you just found... (can't test myself just now).

ijuma commented 12 years ago

Yeah, update should be indeed run automatically by SBT.