Sha256: 3c29593d109fed549e9ed9829d5228ee5965b48aa383167e23986592ce96ac64

Contents?: true

Size: 934 Bytes

Versions: 105

Compression:

Stored size: 934 Bytes

Contents

# Rakefile for rake        -*- ruby -*-

# Copyright 2003, 2004, 2005 by Jim Weirich (jim@weirichhouse.org)
# All rights reserved.

# This file may be distributed under an MIT style license.  See
# MIT-LICENSE for details.

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require "bundler/gem_tasks"
require "rake/testtask"
require "rdoc/task"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.verbose = true
  t.test_files = FileList["test/**/test_*.rb"]
end

RDoc::Task.new do |doc|
  doc.main   = "README.rdoc"
  doc.title  = "Rake -- Ruby Make"
  doc.rdoc_files = FileList.new %w[lib MIT-LICENSE doc/**/*.rdoc *.rdoc]
  doc.rdoc_dir = "html"
end

task ghpages: :rdoc do
  `git checkout gh-pages`
  require "fileutils"
  FileUtils.rm_rf "/tmp/html"
  FileUtils.mv "html", "/tmp"
  FileUtils.rm_rf "*"
  FileUtils.cp_r Dir.glob("/tmp/html/*"), "."
end

task default: :test

Version data entries

105 entries across 98 versions & 21 rubygems

Version Path
cloudsmith-api-1.30.0 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.57.1 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.54.15 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.53.79 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.53.17 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.53.3 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.53.1 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.52.121 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.52.92 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/rake-12.0.0/Rakefile
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.52.79 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.52.5 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.52.0 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.51.93 vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/Rakefile
files.com-1.0.1 vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.51.38 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.51.37 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile
cloudsmith-api-0.51.34 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/Rakefile