I think I’m going mad. Can anyone help?
I have the folder c:\project\bin
I run the following to execute my rake script
cd C:\project
rake
In my rake script I have:
require 'rake/clean'
CLOBBER.include('bin')
task :default => [:compile]
task :compile do
# do nothing
end
It doesn’t delete the “bin” folder nor the contents of the “bin” folder. I’m running Ruby in Windows (1.86 or so) and installed rake using, gem install rake.
Have I missed something. I’ve tried –trace etc.. but get no feedback.
TL;DR:
$ rake clobberAs the answer above said, they are not implicilty invoked. Here is an example, as you asked for.