Sha256: 31e082671e7b840572e42993d6f5233f9885f4a23b32c37f550a52342d2bf0fc
Contents?: true
Size: 488 Bytes
Versions: 41
Compression:
Stored size: 488 Bytes
Contents
require 'rake' namespace :dawn do task :require do begin require 'codesake-dawn' rescue LoadError => e if defined?(Rails) Rake::Task['dawn:require_environment'].invoke else raise e end end end task :require_environment do if defined?(Rails) Rake::Task['environment'].invoke end require 'codesake-dawn' end desc 'Execute codesake-dawn on the current directory' task :run do system "dawn ." end end
Version data entries
41 entries across 41 versions & 2 rubygems