
all = %w[recipes.rhtml list.rhtml show.rhtml new.rhtml edit.rhtml]

recipe  :all			, all

grecipe  "*.rhtml"	, "{1}.html", "{1}.plogic"			do |r|
	cmd "kwartz -Rails -e -p {1}.plogic --extract=content {1}.html > {1}.rhtml"
	end

grecipe  "recipes.rhtml"	, "recipes.html", "recipes.plogic"	do |r|
	cmd "kwartz -Rails -e -p recipes.plogic recipes.html > recipes.rhtml"
	end

recipe  :clear								do |r|
	rm_rf all
	end

recipe	:default		, :all
