mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 11:09:54 +00:00
Address issue #21
Add some github highlighting to janet files (clojure is pretty close)
This commit is contained in:
parent
5ba969f91d
commit
4a6fcb5e23
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# Use an approximate language for syntax highlighting (clojure is pretty close)
|
||||
*.janet linguist-language=clojure
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user