blob: e50627b0723b544b016e5a9eb61fcbd3a28f5363 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
(declare-project
:name "date"
:description "C99 date library for Janet"
:author "Chloe Kudryavtsev <toast@bunkerlabs.net>"
:license "Unlicense"
:repo "https://github.com/CosmicToast/janet-date.git")
(declare-source
:source ["date"])
(def tz-source ["tz/localtime.c"
"tz/asctime.c"
"tz/difftime.c"
"tz/strftime.c"])
(declare-native
:name "date/native"
:source ["src/main.c"
"src/polyfill.c"
"src/time.c"
"src/tm.c"
"src/util.c"
;(if (= :windows (os/which)) [] tz-source)])
|