[Rake-devel] adding targets

Zach Dennis zach.dennis at gmail.com
Sat Jan 13 18:22:03 EST 2007


If you have a task which builds/compiles your file(s) you can just
call that within rake.

ie:
    Rake::Task['compile'].invoke

This saves you from having to re-execute rake.

Zach





On 1/10/07, Shea Martin <shea08 at eastlink.ca> wrote:
> > This allows me to issue the command from Vim
> > 'rake singleobj srcfile=source/dir/file.cpp'
> I meant
> 'rake singleobj srcfile=expand("%")'
>
> as expand evaluates to the name of teh current file in Vim.
>
> ~S
>
> _______________________________________________
> Rake-devel mailing list
> Rake-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rake-devel
>


More information about the Rake-devel mailing list