Sha256: 48a7ee26989a8fb415420f6a1489b248de5612e6c99ec82c1213682411477d6e

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

module BowerVendor
  class Check < 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"
      File.exists?(f) ? f : 'bcu'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bower_vendor-0.0.17 lib/bower_vendor/check.rb
bower_vendor-0.0.16 lib/bower_vendor/check.rb
bower_vendor-0.0.15 lib/bower_vendor/check.rb
bower_vendor-0.0.13 lib/bower_vendor/check.rb