Sha256: b9a66b3428b29b52fda9e71a8a78ee5cd6fa45688dd0914a24db5490310587a1
Contents?: true
Size: 963 Bytes
Versions: 6
Compression:
Stored size: 963 Bytes
Contents
# RakeScript RakeScript is a scripts helper for rake tasks that allows easy managing file system and shell commands. ## Installation Add this line to your application's Gemfile: ```ruby gem 'rake_script', require: false ``` And then execute: $ bundle Or install it yourself as: $ gem install rake_script ## Usage add rake file `something.rake` to your project with following code ```ruby require 'rake_script' namespace :something do include RakeScript::RakeMethods desc 'Task that do something useful' task :some_task do with_puts_benchmark('Some task') do cmd 'foo --bar', env: { BAZ: 'boo' } abort('fail') unless folder_exist?('/path/to/created/folder') end end end ``` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/senid231/rake_script. ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rake_script-0.4.2 | README.md |
rake_script-0.4.1 | README.md |
rake_script-0.4.0 | README.md |
rake_script-0.3.0 | README.md |
rake_script-0.2.0 | README.md |
rake_script-0.1.0 | README.md |