Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I instrument coffeescript files? #9

Open
MikeEmery opened this issue May 15, 2014 · 3 comments
Open

How do I instrument coffeescript files? #9

MikeEmery opened this issue May 15, 2014 · 3 comments

Comments

@MikeEmery
Copy link

I've been banging my head on this for awhile and Google has been no help. I'm trying to set it up so that it will instrument my coffeescript files. This is the config I have in my Gruntfile:

blanket:
  coverage:
    options:
      loader: "./node-loaders/coffee-script",
      extensions: ['.js', '.coffee'],
    src: ['src/']
    dest: 'coverage/src/'

This is the coffeescript file I'm trying to instrument:

module.exports = ->
  10

But when I run grunt coverage I get this:

Running "blanket:coverage" (blanket) task
Warning: Line 1: Unexpected token > Use --force to continue.

Any help is appreciated.

@drinchev
Copy link

+1

2 similar comments
@shamoons
Copy link

+1

@danil-z
Copy link

danil-z commented Dec 28, 2014

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants