Sha256: 53c1225fd99c5db5e05ad567551d58af5d6d9864d14456a186760beec0e058e2

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

#
# Common Rake Tasks for Middleman Apps
#

require 'airbrake/tasks'

desc 'Build the project'
task :build do
  puts 'RUNNING MIDDLEMAN BUILD'
  `rm public && bundle exec middleman build && ln -s build public`
end

desc 'Post Deployment Task for blazing'
task :post_deploy => :build do
  system "rake airbrake:deploy TO=#{ENV['RAILS_ENV']} REVISION=$(git rev-parse HEAD)"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoestrap-0.3.0.pre1 lib/shoestrap/tasks/middleman.rb
shoestrap-0.3.0.pre lib/shoestrap/tasks/middleman.rb