SHELL=/bin/bash local: spec.bs bikeshed --die-on=warning spec spec.bs spec.html spec.html: spec.bs @ (HTTP_STATUS=$$(curl https://api.csswg.org/bikeshed/ \ --output spec.html \ --write-out "%{http_code}" \ --header "Accept: text/plain, text/html" \ -F die-on=warning \ -F file=@spec.bs) && \ [[ "$$HTTP_STATUS" -eq "200" ]]) || ( \ echo ""; cat spec.html; echo ""; \ rm -f spec.html; \ exit 22 \ ); remote: spec.html clean: rm spec.html