The --binary flag only works for the current release with the default
catalog iirc.

Cheers,
Sam

On Sat, Oct 9, 2021, 11:58 Sorawee Porncharoenwase <[email protected]>
wrote:

> I think it's so that `raco pkg install mypkg-lib` won't install
> `racket-doc` if you use Minimal Racket?
>
> If you don't split `mypkg` to `mypkg-lib` and `mypkg-doc`, but specify
> `deps` and `build-deps` correctly, `raco pkg install --binary mypkg` won't
> pull in `racket-doc` either. I don't know when this feature was added
> though. Perhaps, it could be that the package splitting convention predates
> the feature, and the convention persists.
>
> On Sat, Oct 9, 2021 at 10:58 AM 'Joel Dueck' via Racket Users <
> [email protected]> wrote:
>
>> I’ve always used the single collection format [1] in my packages.
>>
>> However, I see a lot of package authors will use a multi-collection
>> format and split the library, documentation and maybe tests out into
>> separate collections.
>>
>> What are the benefits of splitting the main library and its documentation
>> into separate collections?
>>
>> [1]:
>> https://docs.racket-lang.org/pkg/Package_Concepts.html#%28part._concept~3amulti-collection%29
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/racket-users/6ea9f50e-0d4f-4800-bc17-d31979a614cfn%40googlegroups.com
>> <https://groups.google.com/d/msgid/racket-users/6ea9f50e-0d4f-4800-bc17-d31979a614cfn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CADcuegs%3D-YZKaTSmPxreNekuUyxcyMG6AOSzxwnkCnr_8jBkgg%40mail.gmail.com
> <https://groups.google.com/d/msgid/racket-users/CADcuegs%3D-YZKaTSmPxreNekuUyxcyMG6AOSzxwnkCnr_8jBkgg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAHsjV0xQmU3tA21v-bngvpEcxRof3ZSTGc3%3Dfu3i2mLzqk8qLA%40mail.gmail.com.

Reply via email to