Skip to content

Commit

Permalink
Move params.yaml to cfg/ (#2418)
Browse files Browse the repository at this point in the history
params.yaml should be a part of the main code instead of lying as a
separate entity in tools/ since that's where the flags are
declared.
  • Loading branch information
kislaykishore authored Aug 30, 2024
1 parent 8e007df commit d67f09e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func convertToPosixArgs(args []string) []string {
// which is used for flag and config file parsing.
// Refer https://go.dev/blog/generate for details.
//
//go:generate go run -C tools/config-gen . --paramsFile=params.yaml --outDir=../../cfg --templateDir=templates
//go:generate go run -C tools/config-gen . --paramsFile=../../cfg/params.yaml --outDir=../../cfg --templateDir=templates
func main() {
// Common configuration for all commands
defer logPanic()
Expand Down

0 comments on commit d67f09e

Please sign in to comment.