commit 2dd08b27c5a47b1d5c6a77da65a50d374824bffc
parent a3573b91fd0d0fcc15ad82a276bc6ab459aa0cf0
Author: Byron Torres <b@torresjrjr.com>
Date: Thu, 13 Jan 2022 01:22:12 +0000
mv timescales.ha -> timescale.ha; clean gen-stdlib
Signed-off-by: Byron Torres <b@torresjrjr.com>
Diffstat:
3 files changed, 11 insertions(+), 23 deletions(-)
diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib
@@ -182,26 +182,14 @@ bytes() {
}
datetime() {
- if [ $testing -eq 0 ]
- then
- gen_srcs datetime \
- arithmetic.ha \
- chronology.ha \
- date.ha \
- datetime.ha \
- format.ha \
- time.ha \
- timezone.ha
- else
- gen_srcs datetime \
- arithmetic.ha \
- chronology.ha \
- date.ha \
- datetime.ha \
- format.ha \
- time.ha \
- timezone.ha
- fi
+ gen_srcs datetime \
+ arithmetic.ha \
+ chronology.ha \
+ date.ha \
+ datetime.ha \
+ format.ha \
+ time.ha \
+ timezone.ha
gen_ssa datetime errors fmt strings strio time time::chrono
}
@@ -1190,7 +1178,7 @@ time() {
time_chrono() {
gen_srcs time::chrono \
chronology.ha \
- timescales.ha \
+ timescale.ha \
timezone.ha
gen_ssa time::chrono time
}
diff --git a/stdlib.mk b/stdlib.mk
@@ -1797,7 +1797,7 @@ $(HARECACHE)/time/time-freebsd.ssa: $(stdlib_time_freebsd_srcs) $(stdlib_rt)
# time::chrono (+any)
stdlib_time_chrono_any_srcs= \
$(STDLIB)/time/chrono/chronology.ha \
- $(STDLIB)/time/chrono/timescales.ha \
+ $(STDLIB)/time/chrono/timescale.ha \
$(STDLIB)/time/chrono/timezone.ha
$(HARECACHE)/time/chrono/time_chrono-any.ssa: $(stdlib_time_chrono_any_srcs) $(stdlib_rt) $(stdlib_time_$(PLATFORM))
@@ -3805,7 +3805,7 @@ $(TESTCACHE)/time/time-freebsd.ssa: $(testlib_time_freebsd_srcs) $(testlib_rt)
# time::chrono (+any)
testlib_time_chrono_any_srcs= \
$(STDLIB)/time/chrono/chronology.ha \
- $(STDLIB)/time/chrono/timescales.ha \
+ $(STDLIB)/time/chrono/timescale.ha \
$(STDLIB)/time/chrono/timezone.ha
$(TESTCACHE)/time/chrono/time_chrono-any.ssa: $(testlib_time_chrono_any_srcs) $(testlib_rt) $(testlib_time_$(PLATFORM))
diff --git a/time/chrono/timescales.ha b/time/chrono/timescale.ha