fix: add missing cmd/ (gitignore was excluding source dirs)
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful

The initial commit's .gitignore had unanchored 'encapi' and 'encapi-cli'
patterns intended for built binaries; they also matched the cmd/encapi and
cmd/encapi-cli source directories, so those were silently never committed. The
tag build then failed with 'stat /build/cmd/encapi: directory not found'.

- anchor the binary ignores to the repo root (/encapi, /encapi-cli)
- add the cmd/encapi (server) and cmd/encapi-cli (CLI) main packages
This commit is contained in:
unkinben
2026-07-05 17:04:18 +10:00
parent 02ef30ee17
commit 7e9fec60d4
3 changed files with 67 additions and 2 deletions
+4 -2
View File
@@ -2,5 +2,7 @@
/dist/
*.rpm
*.zip
encapi
encapi-cli
# Root-level dev binaries only — anchored so cmd/encapi and cmd/encapi-cli
# (the source packages) are NOT ignored.
/encapi
/encapi-cli