JsHint Exit Code(s)

Viewed 608

I am using JsHint in a Makefile for a project I am working on and the errors that are reported are not being noticed by Make. Is there a way to capture the error and not hard exit the execution of Make? Below is a sample Makefile:

all: css js

css:
    compass compile

hint:
    jshint js/*.js

js: hint
    uglify js/*.js

So, for example, the hint target is showing errors but is doing a hard exit and not informing Make that it exited.

I might not be using the correct terms for things and I apologize.

1 Answers
Related