Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Latest commit

 

History

History
4 lines (3 loc) · 718 Bytes

building_multiple_pckages_from_a_shared_codebase.md

File metadata and controls

4 lines (3 loc) · 718 Bytes

Building multiple packages from a shared codebase

This approach isn't recommended. We recommend implementing multiple commands in order to start different modules/roles of your package but to build and distribute this codebase as a single package.

If you still need to build two or more Carbon packages from the same codebase, you have such a possibility. As I described at Package config, Carbon config has to be located in the root of a codebase, but carbon build has a parameter -c/--config which defines a path to a package config. Thus you may have multiple package configs with different names in the root of your codebase and use them for building of multiple Carbon packages.