Sha256: 04a566da1e29d5acdedba32fdb9464b4e41b913264fe475ecbcc1d4a6fd2170e

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

#!/usr/bin/env ruby

ENV["RAILS_ENV"] = "test"
require "pathname"
require Pathname.new(Dir.pwd).join("config/environment")
require "cypress-rails"

command = ARGV[0]
case command
when "init"
  CypressRails::Init.new.call
when "open"
  CypressRails::Open.new.call
when "run"
  CypressRails::Run.new.call
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cypress-rails-0.0.2 exe/cypress-rails
cypress-rails-0.0.1 exe/cypress-rails