Specs in CoffeeScript don't get compiled #438

Closed
cabaret opened this Issue Sep 14, 2012 · 5 comments

Comments

Projects
None yet
4 participants

cabaret commented Sep 14, 2012

.coffee files in the /test/spec directory don't get compiled to JavaScript.

Could use some third-party software for this (like CodeKit) but I think that would defeat the purpose. CoffeeScript in /app/scripts get compiled without a problem.

Owner

sindresorhus commented Sep 14, 2012

Thanks, we'll get this sorted out :)

Contributor

sleeper commented Sep 17, 2012

It should be doable, with the commit in PR #451, and some changes in the Gruntfile of the project.

Member

hemanth commented Oct 1, 2012

@cabaret Coffescript task are replaced with grunt-coffee! Check the change logs and code

@ghost ghost assigned sindresorhus Oct 10, 2012

Contributor

sleeper commented Nov 18, 2012

If we have yeoman generated Gruntfile with:

    coffee: {
      compile: {
        files: {
          'temp/scripts/*.js': 'app/scripts/**/*.coffee',
          'temp/specs/*.js: 'test/spec/**/*.coffee'
        },
        options: {
          basePath: 'app/scripts'
        }
      }
    },

it should work.

sindresorhus added a commit to yeoman/generator-webapp_DEPRECATED that referenced this issue Jan 31, 2013

TimvdEijnden pushed a commit to TimvdEijnden/generator-webapp_requirejs that referenced this issue Jan 29, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment