Makes compiler work with less

Jonathan Hodgson 6 years ago
parent 179723b6db
commit 5cb7917b23
  1. 1
      bin/compiler

@ -58,6 +58,7 @@ case "$file" in
*\.c) cc "$file" -o "$base" && "$base" ;;
*\.py) python "$file" ;;
*\.js) cat "$file" | minify --js > "${base}.min.js" ;;
*\.less) lessc --clean-css --source-map --autoprefix="last 3 versions, ie >= 11" "$file" "${base}.min.css" ;;
#*\.go) go run "$file" ;;
#*) shebangtest ;;
esac

Loading…
Cancel
Save