Permalink
Browse files

finally fixed rake in a more clean way.

  • Loading branch information...
tobsch committed May 31, 2011
1 parent 7226852 commit 1decd5193ab2d0eebebc3777974ee666cb825340
Showing with 3 additions and 5 deletions.
  1. +3 −0 lib/swineherd.rb
  2. +0 −2 lib/swineherd/script.rb
  3. +0 −3 lib/swineherd/workflow.rb
View
@@ -8,4 +8,7 @@ module Swineherd
autoload :FileSystem, 'swineherd/filesystem'
autoload :Script, 'swineherd/script'
autoload :Workflow, 'swineherd/workflow'
+
+ # For rake 0.9 compatibility
+ include Rake::DSL if defined?(Rake::DSL)
end
View
@@ -6,8 +6,6 @@ module Script
autoload :RScript, 'swineherd/script/r_script'
module Common
- # For rake 0.9 compatibility
- include Rake
attr_accessor :input, :output, :options, :attributes
def initialize(source, input = [], output = [], options = {}, attributes ={})
@@ -2,9 +2,6 @@ module Swineherd
class Workflow
attr_accessor :workdir, :outputs, :output_counts
- # include the rake dsl (needed for rake 0.9.0)
- include Rake::DSL if defined?(Rake::DSL)
-
#
# Create a new workflow and new namespace for this workflow
#

0 comments on commit 1decd51

Please sign in to comment.