Sha256: bbcee19a01bdb252a49dee3621ff7e35ae468caef73f4c2c1bd75d3f2610e46f

Contents?: true

Size: 865 Bytes

Versions: 8

Compression:

Stored size: 865 Bytes

Contents

#!/usr/bin/env ruby

if ENV['COVERAGE']
  # This block allow us to grab code coverage when running this script.
  #
  # Note: This environment variable (ie. COVERAGE) is set in Cucumber/Aruba configuration to collect reports
  simplecov_root = File.expand_path File.join(File.dirname(__FILE__), '..')

  # When running with aruba simplecov was using /tmp/aruba as the root folder.
  # This is to force using the project folder
  ENV['SIMPLECOV_ROOT'] = simplecov_root
  require 'simplecov'

  # https://github.com/simplecov-ruby/simplecov/issues/234
  # As described in the issue, every process must have an unique name:
  SimpleCov.command_name "#{File.basename $PROGRAM_NAME} (pid: #{Process.pid})"
end

lib = File.expand_path('../lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'modulesync/cli'

ModuleSync::CLI::Base.start(ARGV)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
modulesync-3.2.0 bin/msync
modulesync-3.1.0 bin/msync
modulesync-2.7.0 bin/msync
modulesync-2.6.0 bin/msync
modulesync-2.5.0 bin/msync
modulesync-2.4.0 bin/msync
modulesync-2.3.1 bin/msync
modulesync-2.3.0 bin/msync