mirror of
https://github.com/sebastiandine/Card-Collection-Manager-3.git
synced 2026-08-28 17:01:02 +00:00
55ace147bc
* initial development * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * pokemon * pokemon * pokemon * pokemon * pokemon * pokemon * improvements * improvements * ci/cd * ci/cd * improvements * improvements * improvements * improvements * improvements * improvements * improvements * improvements * improvements --------- Co-authored-by: sdine <sdine@sdine.com>
1.9 KiB
1.9 KiB
AGENTS.md
Utility scripts and CI helper assets live in this folder.
Scope
- Keep CI-facing scripts and config here so workflows stay concise.
- Current contents:
installer.nsi— NSIS installer definition used by the Windows CI job.installer_icon.ico— committed installer icon consumed byinstaller.nsi.compute_feature_version.sh— branch+sha version formatter for feature CI workflows.compute_master_semver.sh— semantic version bump logic for merged PRs tomaster.
Editing rules
- Prefer referencing script files from workflows instead of embedding large inline scripts.
- Keep scripts deterministic and non-interactive so CI can run unattended.
- Keep versioning scripts strict and fail-fast (non-zero exit) when required title/version conventions are violated.
- When changing installer behavior, edit
installer.nsiand ensure both.github/workflows/feature-windows.ymland.github/workflows/master-windows.ymlstill invoke it viamakensis -DAPP_VERSION="${VERSION}" scripts/installer.nsi. - Keep installer assets that should not be generated at runtime (such as icon files) committed in this folder.
installer.nsipath semantics:installer_icon.icois resolved relative toscripts/.- build payload is loaded from
..\build\bin\*.*(project root build output). - installer output is written to
..\ccm3-windows-installer.exeso CI upload paths can stay root-based.
installer.nsiversion semantics:APP_VERSIONis supplied by CI (makensis -DAPP_VERSION=...) using the sameVERSIONvalue that is fed into-DCCM_APP_VERSIONfor the C++ build, so the installer, uninstaller, Add/Remove Programs entry, and the running app all advertise the same version.- When
APP_VERSIONis not provided (manual localmakensisruns), it defaults to"localbuild".
- If a script depends on generated files, document those expectations in the script or workflow step that creates them.