Yes, if Sass::Plugin.options is properly set, it will be updated. It might
be tricky to get it set in the right way in Rails, though.

On Thu, Feb 5, 2009 at 10:11 AM, scottwb <[email protected]> wrote:

>
> Some time ago I ended up writing a small script that just traversed my
> stylesheets directory tree calling the 'sass' command line tool on all
> the .sass files, and invoked that script from a capistrano task as
> part of deployment. That definitely works, but I like the sound of
> this update_stylesheets method.
>
> One thing I am not clear on is if Sass::Plugin.options (such
> as :style) will be honored using this method.
>
> On Feb 5, 3:06 am, Nathan Weizenbaum <[email protected]> wrote:
> > There's no built-in Rake task for it, but if you run
> > "Sass::Plugin.update_stylesheets" via script/runner that should do it.
> >
> > On Thu, Feb 5, 2009 at 2:10 AM, Tom Stuart <[email protected]> wrote:
> >
> > > Hi,
> >
> > > It'd be handy for my deployment process to be able to generate all of
> > > my stylesheets from Sass before any mongrels have a chance to start
> > > up, not least because my "down for maintenance" page uses these
> > > stylesheets. I've seen people talking about a haml:compile_sass task
> > > in the context of Merb; does there already exist a comparable rake
> > > task for Rails that I can get Capistrano to kick off at the right time?
> >
> > > Cheers,
> > > -Tom
> >
> >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to