Sha256: 2f78bbb4f215f5e0f974333c2e8adfb23ffb1133f627114639e890bcf94d5642
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 Bytes
Contents
%w{ rubygems bundler find rake/testtask}.each { |lib| require lib } task :default => :spec Rake::TestTask.new(:spec) do |t| t.test_files = FileList['spec/*_spec.rb'] t.ruby_opts = ['-rubygems'] if defined? Gem end <% unless @no_database -%> namespace :db do desc "Run all migrations in db/migrate" task :migrate => :connect do Sequel.extension(:migration) Sequel::Migrator.apply(DB, "db/migrate") end task :connect => :environment do require "./config/initializers/database" end end <%end%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hazel-0.0.7 | lib/templates/Rakefile |
hazel-0.0.6 | lib/templates/Rakefile |