Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from adyard/master

Rake 0.9 Support
  • Loading branch information...
commit 85237286e4dd5f24569d62b917420b673d2af788 2 parents 2425158 + 1decd51
@thedatachef authored
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
#
Please sign in to comment.
Something went wrong with that request. Please try again.