From c3eecafb0135413357a86a2c7985230925607218 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 8 Mar 2019 13:31:33 +0000 Subject: [PATCH] Makes compiler work with less --- bin/compiler | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/compiler b/bin/compiler index 7a7fae6f..22917c33 100755 --- a/bin/compiler +++ b/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