Files
codename-206/tools/branding-sites.tsv
mikkeli 3a144064e3 feat: adopt the template's branding toolkit
Replaces the single check-branding.sh with the four-file toolkit from
musiikki/nih-plug-template, moved under tools/ alongside where the deploy
scripts will eventually live.

The two scripts are byte-identical to the template's; everything specific
to this plugin lives in tools/branding.conf and tools/branding-sites.tsv.
That is the point of the split: syncing an improvement is now a file copy
rather than a shell merge, which is what the last two syncs had become.

This repo's data differs from the template's in ways that exercise the
design rather than fight it: params live in src/params.rs rather than
src/lib.rs, deploy.ps1 exists so its three rows check instead of skip, and
the CI bundle command carries no --features flag because VST3 is always on
here. All of that is table data now, not forked shell.

Nothing needed overriding: PKG, STRUCT and PARAMS_STRUCT all derive
correctly from PLUGIN_NAME ("Bari 206" -> bari_206 / Bari206 /
Bari206Params). AUTHOR is pinned because this plugin separates the person
who wrote it from the organisation that vends it — a distinction the
template could not express until integrating here surfaced it.

Adopting it required two upstream fixes, both made in the template first
so the scripts stay identical: cargo AUTHOR as a value distinct from
Plugin::VENDOR, and site patterns narrowed to the smallest distinctive
fragment after this repo's rustfmt-wrapped CLAP_DESCRIPTION proved a
statement-spanning pattern cannot match correctly formatted source.

CI is repointed at tools/check-branding.sh, and its path filter widened to
tools/** — the old filter named a file that no longer exists, so a change
to the toolkit would have triggered no CI at all.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WHt4DykxXaQnyaJfyS8KCn
2026-09-02 16:39:12 +09:00

1.8 KiB

1reqpkg.bundlerbundler.toml[bari_206]
2optpkg.ci.github/workflows/ci.yamlcargo xtask bundle bari_206
3optpkg.readmeREADME.mdcargo xtask bundle bari_206
4optdisplay.noticeNOTICEBari 206
5reqstruct.defsrc/lib.rsstruct Bari206 {
6reqstruct.pluginsrc/lib.rsimpl Plugin for Bari206 {
7reqstruct.clapsrc/lib.rsimpl ClapPlugin for Bari206 {
8reqstruct.vst3src/lib.rsimpl Vst3Plugin for Bari206 {
9reqstruct.exportclapsrc/lib.rsnih_export_clap!(Bari206);
10reqstruct.exportvst3src/lib.rsnih_export_vst3!(Bari206);
11reqparams.defsrc/params.rsstruct Bari206Params {
12reqparams.defaultsrc/params.rsimpl Default for Bari206Params {
13reqparams.fieldsrc/lib.rsparams: Arc<Bari206Params>,