Sha256: 2534ee925a2441f931ceeb177d0774d93d0c86a7ad23ba63362784335ba72771

Contents?: true

Size: 925 Bytes

Versions: 28

Compression:

Stored size: 925 Bytes

Contents

# coding: utf-8
# bundler が thor をまるごと抱えているという恐ろしい状態で、
# 暫定修正版である groovenauts-thorの修正が反映されない事態が発生していましたが、
# ここで先にrequireすればサブコマンドのhelpも正しく動くのでひとまずこのまま行きます。
# bundler・・・
# https://github.com/bundler/bundler/tree/master/lib/bundler/vendor
require 'thor'
require 'thor/command'

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task :default => :spec

module Bundler
  class GemHelper
    def version_tag
      d = File.basename(File.dirname(__FILE__))
      "#{d}/#{version}"
    end
  end
end

desc "generate reference options: DEST, SUBDIR"
task :reference do
  require 'magellan/cli'
  gen = Magellan::Cli::ReferenceGenerator.new(dest: ENV["DEST"] || "doc", subdir: ENV["SUBDIR"])
  gen.run
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
magellan-cli-0.7.11 Rakefile
magellan-cli-0.7.10 Rakefile
magellan-cli-0.7.9 Rakefile
magellan-cli-0.7.8 Rakefile
magellan-cli-0.7.7 Rakefile
magellan-cli-0.7.6 Rakefile
magellan-cli-0.7.5 Rakefile
magellan-cli-0.7.4 Rakefile
magellan-cli-0.7.3 Rakefile
magellan-cli-0.7.2 Rakefile
magellan-cli-0.7.1 Rakefile
magellan-cli-0.7.0 Rakefile
magellan-cli-0.6.5 Rakefile
magellan-cli-0.6.4 Rakefile
magellan-cli-0.6.3 Rakefile
magellan-cli-0.6.2 Rakefile
magellan-cli-0.6.1 Rakefile
magellan-cli-0.6.0 Rakefile
magellan-cli-0.5.9 Rakefile
magellan-cli-0.5.8 Rakefile