Proposal to integrate built-in "clean" support for flashsdk when using fcsh

11 views
Skip to first unread message

Alan Pinstein

unread,
Aug 7, 2011, 11:01:16 AM8/7/11
to ProjectSprouts
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

Luke Bayes

unread,
Nov 6, 2011, 12:13:04 PM11/6/11
to project...@googlegroups.com
Hey Alan,

Yes!

Sorry for the loooong delay here. But yes. that looks great!

Thanks,

Luke

Alan Pinstein

unread,
Nov 6, 2011, 1:53:55 PM11/6/11
to project...@googlegroups.com
Ok cool.

I am not working on our Flash app at the moment but when I get back to it I'll merge in all of my changes.

I have been linking to the gem from my fork; I suppose I'll re-build the gem once it's merged and you can post it to RubyGems?

Alan

--
You received this message because you are subscribed to the Google Groups "ProjectSprouts" group.
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to projectsprout...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/projectsprouts?hl=en
 
For other info you can visit our project at: http://projectsprouts.org, or on Github at: http://github.com/lukebayes/project-sprouts

Reply all
Reply to author
Forward
0 new messages