dalekjs / dalek

[unmaintained] DalekJS Base framework
MIT License
695 stars 63 forks source link

dalek-grunt configuration problem! #82

Closed izocan closed 10 years ago

izocan commented 10 years ago

Hey, I also posted about this issue in our mailing list: https://groups.google.com/forum/#!topic/dalekjs/P8l098iVpPM

i have a splitted my gruntfile by using the load-grunt-config functionality as described in http://www.html5rocks.com/en/tutorials/tooling/supercharging-your-gruntfile/?redirect_from_locale=de. I also created a module for dalek as described in

https://www.npmjs.org/package/grunt-dalek

it looks like this:

module.exports = {
  dalek: {
    options: {
      browser: ['phantomjs'],
      reporter: ['html', 'junit', 'json'],
    },

    dist: {
      src: ['tests/gui/dalekjs/dakektest.js']
    }
  }
};

When executing grunt -v in the console it says no files, but when i use:

module.exports = {
  dalek: {
    options: {
      browser: ['phantomjs'],
      reporter: ['html', 'junit', 'json'],
    },

    files: {
      src: ['tests/gui/dalekjs/dakektest.js']
    }
  }
};

everything works fine!

Any ideas why?

Cheers izocan

asciidisco commented 10 years ago

Wrong repo; could you please go ahead & post this in the grunt-dalek repo,. Will reference the issues from SO & GG there.