From 48da3b109e51753ad4b19fb13bac069800cf74ac Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Thu, 8 Jun 2017 09:43:51 -0400 Subject: [PATCH] RIP this --- bin/just-the-docs | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 bin/just-the-docs diff --git a/bin/just-the-docs b/bin/just-the-docs deleted file mode 100644 index 6a2eb4f..0000000 --- a/bin/just-the-docs +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env ruby - -# Run rake tasks -# from my_gem once it's installed. -# -# Example: -# -# my_gem rake some-task -# my_gem rake some-task[args] -# -# Note: cucumber features have '.feature' appended automatically, -# no need for you to do it ;) -# -# Author:: N David Brown -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