Sha256: f9ebf78a41a92244d6fb2fac97a4065cbb640d82f8cef0ea14d8682cc14b2774

Contents?: true

Size: 499 Bytes

Versions: 9

Compression:

Stored size: 499 Bytes

Contents

#!/usr/bin/env ruby

gem_dir = File.expand_path("..",File.dirname(__FILE__))
$LOAD_PATH.unshift gem_dir# Look in gem directory for resources first.
exec_type = ARGV[0]

if exec_type == 'rake' then
    require 'rake'
    require 'pp'
    pwd=Dir.pwd
    Dir.chdir(gem_dir) # We'll load rakefile from the gem's dir.
    Rake.application.init
    Rake.application.load_rakefile
    Dir.chdir(pwd) # Revert to original pwd for any path args passed to task.
    Rake.application.invoke_task(ARGV[1])
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
just-the-docs-0.2.1 bin/just-the-docs
just-the-docs-0.2.0 bin/just-the-docs
just-the-docs-0.1.6 bin/just-the-docs
just-the-docs-0.1.5 bin/just-the-docs
just-the-docs-0.1.4 bin/just-the-docs
just-the-docs-0.1.3 bin/just-the-docs
just-the-docs-0.1.2 bin/just-the-docs
just-the-docs-0.1.1 bin/just-the-docs
just-the-docs-0.1.0 bin/just-the-docs