Sha256: 52da1310711ddb0e49e193ec20b2e63a4056407695435b4d27360ca29cdf9b2e

Contents?: true

Size: 397 Bytes

Versions: 25

Compression:

Stored size: 397 Bytes

Contents

module Sprout

  module Executable

    ##
    # Concrete param object for :path values
    class Path < Executable::Param

      def prepare_prerequisites
        if(value && !file_is_output?(value))
          files = FileList[value + file_expression]
          files.each do |f|
            file f
            belongs_to.prerequisites << f
          end
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
sprout-1.0.32.pre lib/sprout/executable/path.rb
sprout-1.0.31.pre lib/sprout/executable/path.rb
sprout-1.0.29.pre lib/sprout/executable/path.rb
sprout-1.0.26.pre lib/sprout/executable/path.rb
sprout-1.0.25.pre lib/sprout/executable/path.rb
sprout-1.0.24.pre lib/sprout/executable/path.rb
sprout-1.0.23.pre lib/sprout/executable/path.rb
sprout-1.0.22.pre lib/sprout/executable/path.rb
sprout-1.0.20.pre lib/sprout/executable/path.rb
sprout-1.0.19.pre lib/sprout/executable/path.rb
sprout-1.0.18.pre lib/sprout/executable/path.rb
sprout-1.0.17.pre lib/sprout/executable/path.rb
sprout-1.0.16.pre lib/sprout/executable/path.rb
sprout-1.0.15.pre lib/sprout/executable/path.rb
sprout-1.0.14.pre lib/sprout/executable/path.rb
sprout-1.0.13.pre lib/sprout/executable/path.rb
sprout-1.0.11.pre lib/sprout/executable/path.rb
sprout-1.0.9.pre lib/sprout/executable/path.rb
sprout-1.0.8.pre lib/sprout/executable/path.rb
sprout-1.0.5.pre lib/sprout/executable/path.rb