Removed unnecessary rake command and files

Improved search documentation
This commit is contained in:
Silvio Giebl
2020-03-25 00:23:17 +01:00
parent 672de29f2e
commit f5e6573e16
6 changed files with 75 additions and 90 deletions

View File

@@ -1,16 +0,0 @@
#!/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