Sha256: 817dd66fcf95ffc846109eb2f26ccbdc3fe0c4678f81a4c13cf5afc01c2c8ba9

Contents?: true

Size: 731 Bytes

Versions: 3

Compression:

Stored size: 731 Bytes

Contents

#!/usr/bin/env ruby

require_relative 'helper.rb'
require_relative 'generate.rb'
require 'applenium/version'

@features_dir = File.join(FileUtils.pwd, "features")
@support_dir = File.join(@features_dir, "support")
@support_dir = File.join(@features_dir, "expected_images")
@support_dir = File.join(@features_dir, "actual_images")
@support_dir = File.join(@features_dir, "image_difference")
@support_dir = File.join(@features_dir, "screenshots")
@source_dir = File.join(File.dirname(__FILE__), '..', 'template')

if (ARGV.length == 0)
  print_usage
else
	cmd = ARGV.shift

	if cmd == "help"
  		print_help
	elsif cmd == "gen"
  		applenium_template
	elsif cmd == "version"
		puts Applenium::VERSION
  	else
  		print_usage
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
applenium-0.0.3 bin/applenium
applenium-0.0.2 bin/applenium
applenium-0.0.1 bin/applenium