Sha256: 57f6396806ad2b462f307db8060dd7dcbdc8aad7857b9f041c5aa7cac9e6b100

Contents?: true

Size: 341 Bytes

Versions: 8

Compression:

Stored size: 341 Bytes

Contents

class BowerVendor::Check < BowerVendor::Base
  def execute
    Dir.chdir(work_dir) do
      script = executable
      puts "excutable: #{script}"
      fork do
        exec "#{script}"
      end
      Process.wait
    end
  end

  def executable
    f = "#{local_node_bin}/bcu"
    puts "BCU: #{f}"
    File.exists?(f) ? f : 'bcu'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bower_vendor-0.1.21 lib/bower_vendor/check.rb
bower_vendor-0.1.20 lib/bower_vendor/check.rb
bower_vendor-0.1.19 lib/bower_vendor/check.rb
bower_vendor-0.1.4 lib/bower_vendor/check.rb
bower_vendor-0.1.3 lib/bower_vendor/check.rb
bower_vendor-0.1.2 lib/bower_vendor/check.rb
bower_vendor-0.1.1 lib/bower_vendor/check.rb
bower_vendor-0.1.0 lib/bower_vendor/check.rb