Sha256: 657a576e6a387d31f5fda4301ff1df16f2e1b85fc4d4eddae0129de21f9d8f39

Contents?: true

Size: 456 Bytes

Versions: 3

Compression:

Stored size: 456 Bytes

Contents

require "thor"

class Ripple < Thor
  include Thor::Actions

  def self.source_root
    File.expand_path "../../..", __FILE__
  end

  desc "update the nugets", "runs ripple update"
  def update
    `#{Ripple.source_root}/buildsupport/ripple.exe update`
    move_files
  end

  private 

  def move_files
     Dir.glob("*/packages/**tools").each do |tool|
       puts /packages\/(\w+)\/tools/.match(tool)[0]

     end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fubu-0.0.4 lib/fubu/ripple.rb
fubu-0.0.2 lib/fubu/ripple.rb
fubu-0.0.1 lib/fubu/ripple.rb