Sha256: 37dda2b0c8c727b9a236d817c4eebf55a72b0df817ba81fc8586e49c6c72d079

Contents?: true

Size: 451 Bytes

Versions: 4

Compression:

Stored size: 451 Bytes

Contents

#
# Common Rake Tasks for Middleman Apps
#

require 'airbrake/tasks'

desc 'Build the project'
task :build do
  puts 'RUNNING MIDDLEMAN BUILD'
  if File.symlink?('public') || File.exists?('public')
    File.delete 'public'
  end

  `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

4 entries across 4 versions & 1 rubygems

Version Path
shoestrap-0.4.1 lib/shoestrap/tasks/middleman.rb
shoestrap-0.4.0 lib/shoestrap/tasks/middleman.rb
shoestrap-0.3.1.pre lib/shoestrap/tasks/middleman.rb
shoestrap-0.3.0 lib/shoestrap/tasks/middleman.rb