Eject a Hammer Proejct


#1

Is it possible to eject a hammer project into a ruby project? The use case is if I am starting a project and then want to hand the project over to a dev using a PC who doesn’t have access to Hammer.


#2

If you’re writing your Hammer project using one of the common ruby (rails?) templating languages - like Slim or Haml, then it’s really easy, we use this workflow a lot.

Obviously, converting the compiled HTML to ERB is perfectly reasonable, but can easily be time consuming and there are better ways, as mentioned above. Because, then, if you don’t use the hammer-specific syntax, they can possibly even use your partials and fragments without doing too much deconstruction of your markup.