Oshuma / git-trip

Visualize git commit SHAs. It's nerd acid!

This URL has Read+Write access

git-trip / Rakefile
100644 32 lines (25 sloc) 0.747 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require 'rubygems'
require 'hoe'
require './lib/git-trip.rb'
 
APP_ROOT = File.dirname(__FILE__) unless defined?(APP_ROOT)
 
task :default => [ :spec ]
 
Hoe.new('git-trip', GitTrip::VERSION) do |p|
  p.developer('Dale Campbell', 'dale@save-state.net')
end
 
# Load any rakefiles in tasks/
custom_tasks = FileList['tasks/**/*.rake'].sort
# Load util.rake before any others...
load custom_tasks.delete('tasks/util.rake')
# ...now load the rest.
custom_tasks.each { |task| load task }
 
# Remove un-needed tasks.
remove_task 'audit'
remove_task 'generate_key'
remove_task 'multi'
remove_task 'post_blog'
remove_task 'test'
remove_task 'test_deps'
 
desc 'Start an irb session with GitTrip loaded'
task :console do
  sh "irb -d -I ./lib -r 'git-trip'"
end