In your VERSION file, put
Current SVN Rev. $Revision: $
That should automagically version stamp it.
No?
Steve
On Feb 11, 2007, at 11:04 AM, Nathan Weizenbaum wrote:
>
> So it just magically started working, like it did for me? That's so
> weird...
>
> I believe the only way to add the revision automatically is to force
> committers to use some wrapper around "svn commit", which I'm not
> sure I
> want to do. Although if anyone has an idea how to do this seamlessly,
> I'm all ears.
>
> - Nathan
>
> s.ross wrote:
>> Ok, it's working now. I added these test cases to my local
>> engine_test.rb. Not pretty, but at least I can see that this case
>> works in isolation.
>>
>> def test_variable_case
>> to_render =<<-HAML
>> !background_color = #5d3526
>>
>> .foo
>> :border= 1px !background_color solid
>> HAML
>> assert_nothing_raised {Sass::Engine.new(to_render).render}
>> end
>>
>> def test_variable_namespace_collision
>> to_render =<<-HAML
>> !background_color = #5d3526
>> !background_color = #587632
>>
>> .foo
>> :border= 1px !background_color solid
>> HAML
>> assert_nothing_raised {Sass::Engine.new(to_render).render}
>> end
>>
>> Thanks,
>>
>> Steve
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---