Sha256: 748e261e6f84deac59d69099374e6850cae69dbd9e176de5be55281e620c887c

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 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"
      puts "BCU: #{f}"
      File.exists?(f) ? f : 'bcu'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bower_vendor-0.0.18 lib/bower_vendor/check.rb