rename fgj to fj

Module path, binary name, config dir, help text, and docs
all updated from fgj-sid/fgj to fj.
This commit is contained in:
sid 2026-04-26 08:16:52 -06:00
parent a6cf9a7096
commit bc43f6e5a5
34 changed files with 479 additions and 479 deletions

View file

@ -228,15 +228,15 @@ func (env *TestEnv) CleanupRepo(owner, repoName string) {
}
}
// GetBinaryPath returns the path to the built fgj binary
// GetBinaryPath returns the path to the built fj binary
func (env *TestEnv) GetBinaryPath() string {
binaryPath := os.Getenv("FGJ_BINARY_PATH")
if binaryPath == "" {
// Look for the binary in common locations
candidates := []string{
"./bin/fgj",
"bin/fgj",
"/home/romain/work/fgj/bin/fgj",
"./bin/fj",
"bin/fj",
"/home/romain/work/fj/bin/fj",
}
for _, candidate := range candidates {
if _, err := os.Stat(candidate); err == nil {
@ -248,7 +248,7 @@ func (env *TestEnv) GetBinaryPath() string {
}
}
// If no binary found, return default (will error when executed)
binaryPath = "./bin/fgj"
binaryPath = "./bin/fj"
}
return binaryPath
}