From c0c20826a3aeac0badedaa6b1ee4a3b966550cc0 Mon Sep 17 00:00:00 2001 From: erg Date: Sun, 3 Sep 2006 23:20:01 +0000 Subject: [PATCH] calendar loadfile simplification --- contrib/calendar/load.factor | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/contrib/calendar/load.factor b/contrib/calendar/load.factor index d69dfcd7fd..af378b8bd5 100644 --- a/contrib/calendar/load.factor +++ b/contrib/calendar/load.factor @@ -1,13 +1,8 @@ -USING: kernel modules namespaces sequences ; +USING: arrays kernel modules sequences ; "calendar" -[ - { - { [ unix? ] [ "os-unix.factor" , ] } - { [ win32? ] [ "os-win32.factor" , ] } - } cond - "calendar.factor" , -] { } make + +unix? "os-unix.factor" "os-win32.factor" ? "calendar.factor" 2array { "test/calendar.factor" } provide