Sha256: dc6d98ad6b611d9bf9d8f3136a121ab85b42696c2f568f58cb6dca58771cbbc8

Contents?: true

Size: 574 Bytes

Versions: 3

Compression:

Stored size: 574 Bytes

Contents

#!/usr/bin/env rake

# environment
ENV['RACK_ENV'] ||= 'development'

# load path
lib_path = File.expand_path('../lib', __FILE__)
($:.unshift lib_path) unless ($:.include? lib_path)

# bundler
require 'bundler'
Bundler.require(:default, ENV['RACK_ENV'], :rake)

# require farm
require 'dotenv/tasks'
require 'rake/testtask'

# tasks
Rake::TestTask.new do |t|
  t.libs << "spec"
  t.pattern = "spec/**/*_spec.rb"
end
task :default => [:environment, :test]

task :environment => :dotenv do
  require 'boot'
end

Dir.glob('./lib/tasks/**/*.rake').each { |tasks| import tasks }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
daiku-0.2.0 lib/daiku/_app/Rakefile.tt
daiku-0.1.1 lib/daiku/_app/Rakefile.tt
daiku-0.1.0 lib/daiku/_app/Rakefile.tt