Skip to content

Commit

Permalink
- make init: update bin name and output
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Oct 28, 2024
1 parent 62b281e commit e58b147
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ func main() {

// Replace in Makefile
replaceInFile("Makefile", "PROJECT=anycable/mycable", "PROJECT="+project)
replaceInFile("Makefile", "BIN_NAME=mycable", "BIN_NAME="+binName)
replaceInFile("Makefile", "OUTPUT ?= dist/mycable", "OUTPUT ?= dist/"+binName)

// Rename cmd directory
err = os.Rename("cmd/mycable", "cmd/"+binName)
Expand Down

0 comments on commit e58b147

Please sign in to comment.