0

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

j_mcnally
  • 6,928
  • 2
  • 31
  • 46

1 Answers1

0

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:

So 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.

Lance
  • 75,200
  • 93
  • 289
  • 503