Skip to content

collin/continuous_builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

## bon! <<<<<<<<<<<<<<<<<<< 

Let's do builders :D

Class > ContinuousBuilder 

#(hey, why isn't that ruby syntax)

The a simple builder.

  class HamlBuilder < ContinuousBuilder
    builds Haml, 
      :files   => "#{FixtureRoot}/**/*.haml",
      :context => Object
  end

methods(:build) expects the first argument to be a Module.

This module should have an Engine class.

Engine::new should take a string argument representing the source.
Engine#render should take an optional Object to be the building context.

Great. There will be more as it's needed.

# Collin Miller claims copyright
# He denies responsibility!
# Any use expressly allowed by humans
# Moonlings and Martians pay extra.

About

A little class to watch the filesystem and then provide callbacks when files are saved

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages