Swig
Install it with
gem install swig
Make a file called swig_file.rb
containing
require 'swig/all'
Swig.new_task(:concat) do
read("spec/fixtures/*.js").
then(Concat, name: "app.js").
write("tmp")
end
Then run this from the command line
swig concat
And see magic!