I have been trying to tighten up my sprout/flashdsk based flash
project and found an issue with fcsh and clean this week.
I put up an idea on the issues page
https://github.com/lukebayes/sprout-flashsdk/issues/8
fcsh doesn't know about rake by default, and thus when a "clean" is
issued for a sprout project, fcsh doesn't clear its cache. Fortunately
there's an fcsh command to clear the cache, which is already supported
by sprout.
I've written a simple patch to the build-in rake clean task to
automatically call fcsh clean on rake clean:
task :clean do
if ENV['use_fcsh']
puts "Clearing the fcsh cache"
Rake::Task["fcsh:clear"].invoke
end
end
Would appreciate feedback to see if I should turn it into a patch.
Alan