Skip to content

Conversation

@xiaoxiangmoe
Copy link

mkdir dist

# generate bin ./dist/cmd
go build -o ./dist ./cmd
# generate bin ./dist/gorched
go build -o ./dist ./cmd/gorched

This also affects commands like go install and so on.

We need follow go project structure's ./cmd directory standard to generate bin with correct name.

@xiaoxiangmoe
Copy link
Author

@zladovan friendly ping

1 similar comment
@xiaoxiangmoe
Copy link
Author

@zladovan friendly ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant