I have to run a whole bunch of ruby scripts to generate some results. In which order does not matter. I just don’t want to do Ruby file1.rb, Ruby file2.rb, Ruby file3.rb…one by one.
Could I write a script that group all files together and issue command only once to run them all?
I would do it ruby-style and use
rakegem.I would create file named “rakefile.rb” and this would be its content:
Then I would call
rakein my favourite shell and I would enjoy it.Bonus: It’s multiplatform.