generator-gulp-angular-subtask
generator-gulp-angular-subtask copied to clipboard
generator creates .js in spec folder when coffee selected
trafficstars
stephancom$ npm ls -g --depth=0 2> /dev/null | grep subtask
├── [email protected]
stephancom$ yo gulp-angular-subtask:factory factoryTest --script-type coffee
create src/app/factoryTest/factories/factoryTest-factory.coffee
create src/app/factoryTest/spec/factories/factoryTest-factory.spec.js
stephancom$ yo gulp-angular-subtask:service serviceTest
create src/app/serviceTest/services/serviceTest-service.coffee
create src/app/serviceTest/spec/services/serviceTest-service.spec.js
using --script-type js creates js for both as expected. Same behavior with coffeescript default and no --script-type. I see there are .coffee templates for the tests. What gives? Am I doing something wrong?
I made a fix for this and gave you a pull request - seems to work.
Sorry but i was mega busy at work. I will look at it next week + upgrade the generator