Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (4 sloc) 0.524 kb
XSHMakeFile is a simple BASH (even though I'd prefer to make it work with SH) script allowing to represent directories and their content as an object in the language you like while keeping indentation.
This script supports JavaScript (and therefore JSON) and PHP but by giving the good argument, you should be able to get it for nearly any language.
To see the result, check example (input is transformed into a file in output depending on the arguments).
You can try it yourself by running 'make clean && make example'.
Jump to Line
Something went wrong with that request. Please try again.