Created
June 22, 2011 20:57
-
-
Save arockwell/1041171 to your computer and use it in GitHub Desktop.
first iteration of rake task definition
This file contains hidden or 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
| files = [ | |
| :a_file => "/path/to/a_file", | |
| :b_file => "/path/to/b_file", | |
| :c_file => "/path/to/c_file" | |
| ] | |
| desc "Process files" | |
| task :process_files do | |
| files.each |file_name, file_location| | |
| process_file(file_name, file_location) | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment