(local utils {}) (fn utils.file-exists? [file-path] (let [file (io.open file-path :r)] (if file (do (file:close) true) false))) (fn utils.compile-sass [file-path] (with-open [out (io.popen (.. "sass -q " file-path))] (out:read :*a))) utils