Sha256: cefec359e116d23d66804a4a2c1d9eb6b15a0995ee60237ed0bdeb4ed46bbdeb

Contents?: true

Size: 1008 Bytes

Versions: 27

Compression:

Stored size: 1008 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

# See https://github.com/colszowka/simplecov/issues/171
desc "Set permissions on all files so they are compatible with both user-local and system-wide installs"
task :fix_permissions do
  system 'bash -c "find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
end
# Enforce proper permissions on each build
Rake::Task[:build].prerequisites.unshift :fix_permissions

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

task :default => :test

namespace :assets do
  desc "Compiles all assets"
  task :compile do
    puts "Compiling assets"
    require 'sprockets'
    assets = Sprockets::Environment.new
    assets.append_path 'assets/javascripts'
    assets.append_path 'assets/stylesheets'
    assets['application.js'].write_to('public/application.js')
    assets['application.css'].write_to('public/application.css')
  end
end

Version data entries

27 entries across 24 versions & 8 rubygems

Version Path
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/simplecov-html-0.9.0/Rakefile
tdiary-5.0.7 vendor/bundle/gems/simplecov-html-0.9.0/Rakefile
tdiary-5.0.6 vendor/bundle/gems/simplecov-html-0.9.0/Rakefile
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/simplecov-html-0.9.0/Rakefile
tdiary-5.0.5 vendor/bundle/gems/simplecov-html-0.9.0/Rakefile
tdiary-5.0.4 vendor/bundle/gems/simplecov-html-0.9.0/Rakefile
tdiary-5.0.2 vendor/bundle/gems/simplecov-html-0.9.0/Rakefile
tdiary-5.0.1 vendor/bundle/gems/simplecov-html-0.9.0/Rakefile
simplecov-html-0.9.0 Rakefile
simplecov-html-0.8.0 Rakefile
candlepin-api-0.4.0 bundle/ruby/gems/simplecov-html-0.7.1/Rakefile
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/simplecov-html-0.7.1/Rakefile
simplecov-bamboo-0.1.0 Rakefile
challah-1.0.0 vendor/bundle/gems/simplecov-html-0.7.1/Rakefile
challah-1.0.0.beta3 vendor/bundle/gems/simplecov-html-0.7.1/Rakefile
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/Rakefile
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/Rakefile
challah-1.0.0.beta2 vendor/bundle/gems/simplecov-html-0.7.1/Rakefile
challah-1.0.0.beta vendor/bundle/gems/simplecov-html-0.7.1/Rakefile
challah-0.9.1.beta.3 vendor/bundle/gems/simplecov-html-0.7.1/Rakefile