We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e38e7a1 commit 189a865Copy full SHA for 189a865
internal/app/file/file.go
@@ -86,7 +86,7 @@ func (fl File) GenerateGoModFile(dir string, isCurrentDir bool) error {
86
func (fl File) GenerateMakefile(projectName string, isCurrentDir bool) error {
87
content := fmt.Sprintf(
88
"PROJECT_NAME = %s\n"+
89
- "PROJECT_PATH = cmd/$(PROJECT_NAME).go\n"+
+ "PROJECT_PATH = cmd/$(PROJECT_NAME).go\n\n"+
90
".PHONY:run\nrun:\n\tgo run $(PROJECT_PATH)\n\n"+
91
".PHONY:build\nbuild:\n\tgo build -o bin/$(PROGRAM_NAME) $(PROJECT_PATH)\n\n"+
92
".PHONY:test\ntest:\n\tgo test ./...\n\n"+
0 commit comments