rhiokim / grunt-sloc

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

"File extension 'html' is not supported" #4

Closed theGeekPirate closed 10 years ago

theGeekPirate commented 11 years ago
sloc: {
    client: {
        files: {
            'client': ['index.html', 'robots.txt', 'js/app/**','views/**']
        }
    }
}
rhiokim commented 11 years ago

@theGeekPirate

grunt-sloc is based on sloc module. So, in version 0.3, the language sloc supports is possible.

It aims to analyze the line of physical code strictly.

Please refer to the README file.

However, I have plan to add the option to be able to analyze the line of code all the files required by 0.4.0 version.

theGeekPirate commented 11 years ago

Ah I understand, thank you for making this plugin!

I guess you can tag this as enhancement/feature request, or close it, up to you boss =)

rhiokim commented 11 years ago

@theGeekPirate I publish the v0.4.0. torelant option has been added. To all the files of non-code, this option indicates a physical number of rows in the manner described before.

sloc: {
    client: {
        options: {
            torelant: true
        },
        files: {
            'client': ['index.html', 'robots.txt', 'js/app/**','views/**']
        }
    }
}