mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 13:28:30 +00:00
- Added support for registry-based dependencies in the dependencies section. - Updated the package section to include a project type field. - Introduced a new CLI command `dcr setup` to load and display registry configurations. - Implemented a new module for handling registry operations, including loading and resolving packages from registries. - Enhanced the build process to handle library packaging, including copying headers and libraries to the appropriate target directories. - Updated the CLI to support building library packages and added tests for library package builds. - Improved error handling and output messages during dependency resolution and package fetching.
609 B
609 B
Package section
Schema
[package]
name = "my-app"
version = "0.1.0"
type = "app"
Fields
name(string, required): used as output artifact base name.version(string, required): used indcr.lockproject entry.type(string, optional): project type (app,lib,none).
Notes
- Empty
nameorversionmakes config invalid. dcr newsetsnamefrom the passed project name.dcr initsetsnamefrom current directory name.- If
type = "lib", DCR generatesinclude/andlib/directories in the target path, copying public headers and built libraries.