Hi,
I wonder if you could specify task dependencies with feature literals, e.g.:
@Depends(#compile)
function jar() {
}
I suppose the trick would be that if two tasks both depend on compile, I would not be surprised if each #compile literals ends up with a new object instance, so it'd be hard to tell that they both pointed back to the same underlying function.
Might be more straightforward to just use object instances, e.g.:
compile = task(\ ->
...
)
jar = task(\ ->
...
).depends_on(compile)
Eh, the task/block syntax is a little funky. Sorry, I'm not an expert on build tools, I was just checking out aardvark and got side tracked. Feel free to ignore me, aardvark as is already looks much nicer than ant. :-)
Love the name, btw.
- Stephen