Sha256: 847e5c2ef48dd684cc8864bf205a92a5f31b98fbfa13ba058eda92c0524f813a
Contents?: true
Size: 500 Bytes
Versions: 73
Compression:
Stored size: 500 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
73 entries across 73 versions & 10 rubygems