Sublime Forum

Build source.js & source.css

#1
  • Version 2.0.1
  • Windows 7 64

Goal: Do JSLINT in .js and CSSLINT in .css

Problem: Automatic build system doesn’t look for the “selector”

I set the build system to automatic and created the following build file.

{ "cmd": "compass", "compile", "-e", "development", "--force", "--trace", "${project_path:${folder}}", "&&", "compass", "stats", "${project_path:${folder}}", "&&", "echo","CSS LINT:", "&&", "csslint", "${project_path:${folder}}", "&&", "echo", "JS LINT:", "&&", "gjslint.exe", "${project_path:${folder}}\\assets\\js\\script.js"], "selector": "source.js", "shell": true }

Using any selector will not trigger the build. It only seems to work when setting the build system manually and remove the selector.

help :open_mouth:

thanks

0 Likes