Each time I build the app, I get to twiddle my thumbs for 80 seconds
while *everything* is compiled from scratch. The more code I write,
the longer this time gets; I remember fondly when this lag was "only"
30 seconds. This is especially frustrating if all I've changed is an
xml resource, for example.
Ideally, source files that have not changed would require no
compilation. This is in line with an existing-but-far-too-general
ticket [1].
I'm going to commit a few hours to try to implement this, but any
ideas/pointers/collaboration would be appreciated. Thanks!
-Brendan
The tricky thing is that we don't know what files a .class file depends on.
file 'build/org/mirahparser/ast/NodeMeta.class' => 'src/org/mirah/ast/meta.mirah' domirahc('src/org/mirah/ast/meta.mirah',:dest => 'build'#:options => ['-V'])end
file 'build/mirahparser/lang/ast/Node.class' =>['build/org/mirahparser/ast/NodeMeta.class'] + Dir['src/mirah/lang/ast/*.mirah'] domirahc('.',:dir => 'src/mirah/lang/ast',:dest => 'build',:options => ['--classpath', 'build'])end