From 1a1139f5878b948c1ace712e2d5897fc9714fe74 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 25 Jun 2013 22:17:38 +0200 Subject: [PATCH] a step toward single-collection packages as default A package's "info.rkt" file should define `collection' as a string to name a single-collection package's collection, or as the symbol 'multi to declare the package as multi-collection. If `collection' is 'same-as-pkg, then the package name is used as the collection name. The default for `collection' is 'multi for now, but the intent is to change the default to 'same-as-pkg after a conversion period. Also, support for a `single-collection' definition remains in place, but it wil be removed. original commit: c738a6aa3eee89a82d577dd35c70eca8ed32f5b4 --- pkgs/html-pkgs/html-lib/info.rkt | 2 ++ pkgs/slideshow-pkgs/slideshow-exe/info.rkt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/html-pkgs/html-lib/info.rkt b/pkgs/html-pkgs/html-lib/info.rkt index c14a2ca..b851188 100644 --- a/pkgs/html-pkgs/html-lib/info.rkt +++ b/pkgs/html-pkgs/html-lib/info.rkt @@ -1 +1,3 @@ #lang setup/infotab + +(define collection 'multi) diff --git a/pkgs/slideshow-pkgs/slideshow-exe/info.rkt b/pkgs/slideshow-pkgs/slideshow-exe/info.rkt index 37f4228..e2cc993 100644 --- a/pkgs/slideshow-pkgs/slideshow-exe/info.rkt +++ b/pkgs/slideshow-pkgs/slideshow-exe/info.rkt @@ -1,3 +1,5 @@ #lang setup/infotab +(define collection 'multi) + (define deps '("slideshow-lib"))