diff options
| author | Paul Buetow <paul@buetow.org> | 2025-10-31 20:13:32 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-10-31 20:13:32 +0200 |
| commit | 11eea6a82cbfdde40ec1457c6ea080da4da6b7dc (patch) | |
| tree | 8026068f6a3beb3ee02c45f06f4487f4b89caaf1 /internal/cmd/test.go | |
| parent | 5c3e0b5cf99d028c4f06be7a825388b296e37a22 (diff) | |
feat: implement amp AI tool support and replace Taskfile with Magev0.10.0
- Add amp as default AI tool for release notes and showcase generation
- Fallback chain: amp → hexai → claude → aichat
- Replace Taskfile.yaml with magefile.go for build automation
- Update all documentation (README.md, AGENTS.md, doc/development.md)
- Update version to 0.10.0
Amp-Thread-ID: https://ampcode.com/threads/T-735ba1e2-0255-4b43-8ed1-6c0d2f78301b
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/cmd/test.go')
| -rw-r--r-- | internal/cmd/test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/cmd/test.go b/internal/cmd/test.go index 2c50112..ebee3db 100644 --- a/internal/cmd/test.go +++ b/internal/cmd/test.go @@ -4,9 +4,9 @@ import ( "fmt" "os" - "github.com/spf13/cobra" "codeberg.org/snonux/gitsyncer/internal/cli" "codeberg.org/snonux/gitsyncer/internal/config" + "github.com/spf13/cobra" ) var testCmd = &cobra.Command{ @@ -52,11 +52,11 @@ var testConfigCmd = &cobra.Command{ fmt.Fprintf(os.Stderr, "Configuration validation failed: %v\n", err) os.Exit(1) } - + fmt.Println("Configuration validation successful!") fmt.Printf(" Organizations: %d\n", len(cfg.Organizations)) fmt.Printf(" Repositories: %d\n", len(cfg.Repositories)) - + // Check for common issues hasGitHub := false hasCodeberg := false @@ -74,11 +74,11 @@ var testConfigCmd = &cobra.Command{ } } } - + if !hasGitHub && !hasCodeberg { fmt.Println(" ⚠️ Warning: No GitHub or Codeberg organizations configured") } - + os.Exit(0) }, } @@ -88,4 +88,4 @@ func init() { testCmd.AddCommand(testGitHubCmd) testCmd.AddCommand(testCodebergCmd) testCmd.AddCommand(testConfigCmd) -}
\ No newline at end of file +} |
