-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rake task showing raider version (#93)
* Rake task for generated projects * Added txt file for gem version Fixed raider version command and added rake task for generated projects * Deleted irrelevant rake tasks * Cleaned the syntax * Cleaned syntax to match Rubocop requirements * Fixed variables names and values
- Loading branch information
1 parent
87606e6
commit 69054d0
Showing
4 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
require 'yaml' | ||
|
||
desc 'Selects browser for automation run' | ||
task :select_browser, [:browser] do |_t, args| | ||
config = YAML.load_file('config/config.yml') | ||
config['browser'] = args.browser | ||
File.write('config/config.yml', config.to_yaml) | ||
end | ||
desc 'Print Ruby Raider version' | ||
task :raider do | ||
system 'raider version' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.8.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters