When scaffolding a new tower js app i execute
tower new demo --views jade
but i still get the default CoffeeKup layouts.
Any help with this would be great
This feature hasn't been implemented yet, only the command line flags have been setup so far. Here are the generator templates:
To add this feature all that needs to be done is to wire the command line flags to the viewGenerator.coffee
and appGenerator.coffee
files:
program
variable: src/tower/server/generator.coffee#L20program
: src/tower/server/command/new.coffeeSo all that needs to be done is modify that viewGenerator.coffee
script to something like:
for view in views
@template "#{view}.coffee", "app/views/#{@view.directory}/#{view}.#{@program.engine}"
I would help implement this but don't have the time at the moment, working on merging the dev branch to master. Hope that helps.