rhiokim / grunt-sloc

Source line of codes plugin for Grunt.js
MIT License
23 stars 12 forks source link

Not working as intended #5

Closed zokeefe closed 10 years ago

zokeefe commented 10 years ago

Directory:

app |-- gruntfile.js |-- server.js

In gruntfile.js:

sloc: {
        files: {
            './' : [ 'server.js' ],
                    }
     },

Terminal:

grunt sloc Running "sloc:files" (sloc) task

Done, without errors.

? Windows.

oddjobsman commented 10 years ago

Mine is a bit better but still broken:

sloc: {
      scripts: {
        files: {
          'lib': ['**.js']
        }
      }
    },

and I get the following output:

Running "sloc:scripts" (sloc) task
-------------------------------
        physical lines : 0
  lines of source code : 0
         total comment : 0
            singleline : 0
             multiline : 0
                 empty : 0

  number of files read : 0
           strict mode
-------------------------------

All the code that I want sloc to process is inside a lib/ folder under the project root folder. Just can't seem to get it to work.

I'm using:

qraynaud commented 10 years ago

+1 on CentOS. Everything is zeroed everywhere for me too.

flosse commented 10 years ago

jep, there is a bug