Skip to content

Commit

Permalink
cleanup loading in Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Nov 6, 2009
1 parent e0b094f commit d882efc
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions Rakefile
@@ -1,12 +1,5 @@
require 'rubygems'
begin
hanna_dir = '/Users/mislav/Projects/Hanna/lib'
$:.unshift hanna_dir if File.exists? hanna_dir
require 'hanna/rdoctask'
rescue LoadError
require 'rake'
require 'rake/rdoctask'
end
require 'rake/rdoctask'

load 'spec/tasks.rake'

desc 'Default: run specs.'
Expand Down Expand Up @@ -55,4 +48,4 @@ task :website do
%x(haml index.haml index.html)
%x(sass pagination.sass pagination.css)
end
end
end

0 comments on commit d882efc

Please sign in to comment.