Browse files

Merge pull request #1 from adyard/master

Rake 0.9 Support
  • Loading branch information...
2 parents 2425158 + 1decd51 commit 85237286e4dd5f24569d62b917420b673d2af788 @thedatachef thedatachef committed May 31, 2011
Showing with 5 additions and 1 deletion.
  1. +3 −0 lib/swineherd.rb
  2. +1 −0 lib/swineherd/script.rb
  3. +1 −1 lib/swineherd/workflow.rb
View
3 lib/swineherd.rb
@@ -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
1 lib/swineherd/script.rb
@@ -6,6 +6,7 @@ module Script
autoload :RScript, 'swineherd/script/r_script'
module Common
+
attr_accessor :input, :output, :options, :attributes
def initialize(source, input = [], output = [], options = {}, attributes ={})
@source = source
View
2 lib/swineherd/workflow.rb
@@ -1,7 +1,7 @@
module Swineherd
class Workflow
attr_accessor :workdir, :outputs, :output_counts
-
+
#
# Create a new workflow and new namespace for this workflow
#

0 comments on commit 8523728

Please sign in to comment.