Recursive Ruby Script to replace File/Directory Names & File Contents(dannydouglass.com)
submitted by
DannyDouglass(1260) 1 year, 3 months ago
Over this past weekend I began templating a project structure that we use at my day/evening/night job to allow developers to simply execute a script and provide a few parameters to initialize a new development project (including build script, fxcop analysis, unit testing, visual studio projects, etc.). I didn’t think this would take that long despite being relatively new to the Ruby world.
Oddly enough, I had trouble finding similar examples on the interwebs – even StackOverflow didn’t have the answer! The horror, the horror!
No matter, I’m a developer after all and should be, better be capable of handling this simple script. I decided to start simple and just use the directory global searching method to recursively get everything within my project template’s directory: read more...
|category: Open Source
|Views: 5
tags:
OpenSource another
Everyones tags:
Your Tags: