deepcerulean/dedalus

View on GitHub
Rakefile

Summary

Maintainability
Test Coverage
# encoding: utf-8

require 'rubygems'

begin
  require 'bundler/setup'
rescue LoadError => e
  abort e.message
end

require 'rake'

require 'rubygems/tasks'
Gem::Tasks.new

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new

task :test    => :spec
task :default => :spec

require 'yard'
YARD::Rake::YardocTask.new  
task :doc => :yard

require 'cucumber/rake/task'

Cucumber::Rake::Task.new do |t|
  t.cucumber_opts = %w[--format pretty]
end

require 'joyce'
require 'joyce/tasks/build'

task :app do
  Joyce::Tasks::AppBuilder.new.make({
    app_name: "dedalus",
    app_class_name: 'Dedalus::PatternLibrary::Application',
    template_location: "dist/Ruby.app",
    target_directory: "dist"
  })
end