Skip to content

Instantly share code, notes, and snippets.

@chikadance
Created April 6, 2013 03:25
Show Gist options
  • Save chikadance/5324611 to your computer and use it in GitHub Desktop.
Save chikadance/5324611 to your computer and use it in GitHub Desktop.
rake run lastest_file
require_relative "./ex_tool/lib/tool"
task :default => [:test]
task :test do
sh "bundle exec ruby ./ex/watir.rb"
end
task :la do
#ARGV[1] represents argument which you input.
sh "ruby ./#{Tool.new.get_lastest} #{ARGV[1]}"
end
task :app do
sh "bundle exec ./app.rb"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment