diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..3759b29d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Use an approximate language for syntax highlighting (clojure is pretty close) +*.janet linguist-language=clojure diff --git a/tools/cook.janet b/tools/cook.janet index cc61088f..61653b4b 100644 --- a/tools/cook.janet +++ b/tools/cook.janet @@ -34,7 +34,7 @@ [f1 f2] "Check if f1 is newer than f2. Used for checking if a file should be updated." (if is-win true - (zero? (os/shell (string "[ " f1 " -ot " f2 " ]"))))) + (not (zero? (os/shell (string "[ " f1 " -nt " f2 " ]")))))) (defn- older-than-some [f others]