pluginctl/assets/build
Felipe Martin 2e2a95d7d6
Add GoModule support to template context and update gitignore
- Add GoModule struct with Module and Version fields
- Parse go.mod file to extract module name and Go version
- Expose GoModule in template context as {{.GoModule}}
- Update asset templates to use {{.GoModule}} instead of hardcoded values
- Add gitignore pattern for testdata directories (keep only plugin.json files)
- All templates now have access to both manifest and Go module information

Templates can now use:
- {{.GoModule.Module}} for module name
- {{.GoModule.Version}} for Go version
- {{if .GoModule}}...{{end}} for conditional logic

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 22:16:41 +02:00
..
build.mk Add check subcommand to manifest command 2025-07-14 17:53:47 +02:00
deploy.mk Add deploy command to upload and enable plugin bundles 2025-07-14 19:17:25 +02:00
dev.mk Refactor codebase with improved structure and logging 2025-07-14 17:14:12 +02:00
setup.mk Refactor codebase with improved structure and logging 2025-07-14 17:14:12 +02:00
test.mk Refactor codebase with improved structure and logging 2025-07-14 17:14:12 +02:00
utils.mk Add GoModule support to template context and update gitignore 2025-07-14 22:16:41 +02:00
versioning.mk Refactor codebase with improved structure and logging 2025-07-14 17:14:12 +02:00