Package org.gradle.plugins.javascript.jshint.internal

Examples of org.gradle.plugins.javascript.jshint.internal.JsHintSpec


            public void execute(JavaExecSpec javaExecSpec) {
                javaExecSpec.setWorkingDir(getProject().getProjectDir());
            }
        });

        JsHintSpec spec = new JsHintSpec();
        spec.setSource(getSource().getFiles()); // flatten because we need to serialize
        spec.setEncoding(getEncoding());
        spec.setJsHint(getJsHint().getSingleFile());

        JsHintResult result = rhinoHandle.process(spec);
        setDidWork(true);

        // TODO - this is all terribly lame. We need some proper reporting here (which means implementing Reporting).
View Full Code Here

TOP

Related Classes of org.gradle.plugins.javascript.jshint.internal.JsHintSpec

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.