mattgoldspink / grunt-sencha-dependencies

Grunt task to get the list of Ext.require dependencies in your application
MIT License
32 stars 22 forks source link

New option added : failOnError #34

Closed parhelium closed 10 years ago

parhelium commented 10 years ago

Once options.failOnError is true, then grunt.fail.fatal is executed if any javascript errors are detected by PhantomJS.

parhelium commented 10 years ago

Example:

        sencha_dependencies: {
          touch:{
                options : {
                    appFile: "app.js",
                    pageRoot: "<%= app.sourcePath %>",
                    pageToProcess: "index.html",
                    includeAllScriptTags:false,
                    failOnError:true
                }
            }
        }
mattgoldspink commented 10 years ago

Thanks @parhelium - Sorry it's taken me so long to pull this in

parhelium commented 10 years ago

Thanks @mattgoldspink for your hard work !