kimroen / ember-cli-coffeescript

Adds precompilation of CoffeeScript files and all the basic generation types to the ember generate command.
MIT License
72 stars 49 forks source link

Generation problems when using ember-cli-coffeescript #16

Closed jdreux closed 10 years ago

jdreux commented 10 years ago

All commands that generate test files have an issue where a tests/unit/.../name.js and a tests/unit/.../name.coffee both get generated. Example:

$ ember g route library version: 0.0.46 installing create app/routes/library.coffee create app/templates/library.hbs create tests/unit/routes/library-test.coffee installing create tests/unit/routes/library-test.js Error happens when building

$ ember s version: 0.0.46 Livereload server on port 35729 Serving on http://0.0.0.0:4200 EEXIST, file already exists '/Users/.../tmp/coffee_script_filter-tmp_dest_dir-eRLGbxWm.tmp/project/tests/unit/routes/library-test.js' Error: EEXIST, file already exists '/Users/.../tmp/coffee_script_filter-tmp_dest_dir-eRLGbxWm.tmp/project/tests/unit/routes/library-test.js'

kimroen commented 10 years ago

This should've been fixed in version 0.1.0, could you please make sure that's the version you're using?

jdreux commented 10 years ago

Forgot to confirm that this was indeed a version problem!