1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-24 09:17:17 +00:00

Address issue #21

Add some github highlighting to janet files (clojure is pretty close)
This commit is contained in:
Calvin Rose 2019-01-19 12:11:54 -05:00
parent 5ba969f91d
commit 4a6fcb5e23
2 changed files with 3 additions and 1 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Use an approximate language for syntax highlighting (clojure is pretty close)
*.janet linguist-language=clojure

View File

@ -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]