Let's say I have a target who needs to compile some files. That target has another target as a prerequisite, one that obtains the files. Let's say this:
task :obtain do
# obtain files from somewhere
end
task :compile => :obtain do
# do compilation
end
Let's say that the :obtain
target doesn't always places the files in the same folder. How would I pass :compile
the path that :obtain
found? Environment variables?