Skip to content

Commit 649d659

Browse files
authored
chore: migrate deps to namespace syntax (mcpp 0.0.6) (#5)
* chore: migrate deps to namespace syntax (mcpp 0.0.6) Updates mcpp.toml to use explicit namespace fields: - [package].namespace added - [package].name uses short name only - [dependencies.compat] / [dev-dependencies.compat] for non-modular libs - [dependencies.mcpplibs.capi] for C API wrappers * ci: retrigger with fixed mcpp 0.0.6 * ci: retrigger * ci: retrigger with mcpp 0.0.7
1 parent 3313a39 commit 649d659

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323
"/tmp/xlings-${XLINGS_VERSION}-linux-x86_64/subos/default/bin/xlings" self install
2424
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
2525
26-
- name: Install workspace tools (.xlings.json → mcpp 0.0.4)
26+
- name: Install workspace tools (.xlings.json → mcpp 0.0.7)
2727
run: xlings install -y
2828

2929
# Cache mcpp's self-bootstrapped sandbox (musl-gcc + binutils +
3030
# glibc + ninja + patchelf, ~800 MB). Toolchain set is pinned by
31-
# mcpp 0.0.4, so a fixed key suffices.
31+
# mcpp 0.0.7, so a fixed key suffices.
3232
- name: Cache mcpp sandbox
3333
uses: actions/cache@v4
3434
with:
35-
path: ~/.xlings/data/xpkgs/xim-x-mcpp/0.0.4/registry
36-
key: mcpp-sandbox-${{ runner.os }}-mcpp0.0.4
35+
path: ~/.xlings/data/xpkgs/xim-x-mcpp/0.0.7/registry
36+
key: mcpp-sandbox-${{ runner.os }}-mcpp0.0.7
3737

3838
- name: Build with mcpp
3939
run: mcpp build

.xlings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"workspace": {
3-
"mcpp": { "linux": "0.0.4" }
3+
"mcpp": { "linux": "0.0.7" }
44
}
55
}

mcpp.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
[package]
2-
name = "mcpplibs.cmdline"
2+
namespace = "mcpplibs"
3+
name = "cmdline"
34
version = "0.0.2"
45
description = "A simple command-line parsing library/framework for modern C++"
56
license = "Apache-2.0"
67
authors = ["mcpplibs"]
78
repo = "https://github.com/mcpplibs/cmdline"
89

9-
# Library target — exposes module `mcpplibs.cmdline` to dependents.
10-
# Sources default to src/**/*.{cppm,cpp,cc,c}; tests/ and examples/ are
11-
# discovered separately (`mcpp test` / standalone builds).
1210
[targets.cmdline]
1311
kind = "lib"
1412

0 commit comments

Comments
 (0)