acleverpun / letsgoonanadventure

Adventure game prototype built from our skeleton
0 stars 0 forks source link

Make index.js generator #27

Open rosshadden opened 9 years ago

rosshadden commented 9 years ago

We're going to have a lot of files like https://github.com/acleverpun/letsgoonanadventure/blob/master/app/entities/index.js, so we should make a (grunt) task that watches files and generates these.

It can just convert filenames to variables. For example, it would convert folders to "foldername", and files to "Filename". Dash-separated files/folders would be converted to camel-case.