I’d like to be able to give my wars a dynamic name (which includes the
svn
branch, svn revision, date stamp, etc.).
warble.rb: https://gist.github.com/3183573
warble.rake: warble.rake · GitHub
This works, but the war naming routine runs once for every prerequisite
rake task (assets:clean, assets:precompile, etc.). It’s a relatively
expensive routine, so I’d like to get it to run only once.
Also, I’m new to Rake (and Ruby), so my code is probably pretty ugly,
and
I’ll gladly take suggestions.
Thanks,
Jamie