groupdock / grunt-handlebars

Grunt task for precompiling Handlebars template.
30 stars 14 forks source link

Is the task already working? #2

Closed raDiesle closed 12 years ago

raDiesle commented 12 years ago

Is the task already working? Example, please. Instead it's creating a "all" file, like the attribute name in handlebars of the grunt config.

Seems like I'm missing the depenencies of https://github.com/TooTallNate/node-gyp , node-ffi and npm-cli I tried to run it with the bbb command and grunt

Thanks

timoxley commented 12 years ago

Task works for me. Module has been updated recently.

// Project configuration.
grunt.initConfig({
  handlebars: {
    all: {
      src: 'templates',
      dest: 'js/templates.js'
    }
  }
});
grunt.loadNpmTasks('grunt-handlebars');

Are you still having trouble with this?

giannif commented 12 years ago

It works for me when I clone this project, but it doesn't work in my project when using grunt.loadNpmTasks('grunt-handlebars');. I get no errors or anything, just nothing happens.

timoxley commented 12 years ago

Can you pastebin your grunt file? What version of node/grunt?

raDiesle commented 12 years ago

With the newest versions it working fine for me,

Thanks a lot,

David

2012/7/7 Tim Oxley < reply@reply.github.com

Can you pastebin your grunt file? What version of node/grunt?


Reply to this email directly or view it on GitHub: https://github.com/groupdock/grunt-handlebars/issues/2#issuecomment-6820510

giannif commented 12 years ago

I got it to work too. I believe my grunt-contrib was overriding it, or I had an old version from npm. Regardless it works. Thanks.

timoxley commented 12 years ago

@giannif @raDiesle Awesome.