generate list of files for gem spec
Posted in Uncategorized on April 15th, 2010 by Rob – Be the first to commentGemspec files require the list of files to include in the gem build, here’s simple command you can run to add all files descending from the current directory, it ignores the .git directory and sorts the list for you.
1 | find . -type file | grep -v .git/ | sort |
You just to add the ruby array syntax.
replace ./ with ”
replace \n with “,\n
