Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (26 sloc) 0.634 kb
recipe :ignore
ignore /^\.git\//
ignore /\.swp$/
process do |files|
files.take_and_map do |file|
case file
when %r{^design/requirements.txt$}
source = File.expand_path("../design/requirements.txt", __FILE__)
target = File.expand_path("../design/requirements.html", __FILE__)
result = `saga convert #{source} > #{target}`
unless result.strip == ''
puts result
else
puts
system("saga planning #{source}")
end
files.delete(file)
end
end
end
process do |files|
if gemfile = files.delete('Gemfile')
execute "bundle install"
end
end
recipe :rails
Jump to Line
Something went wrong with that request. Please try again.