drogonframework / drogonframework/drogon

Project name conflicts with test folder when building application on project named "test"

Open
#2,370 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 12h
Merged PRs (30d)
15

Description

**Describe the bug**
When building a project named `test`, the `make` command fails because the executable file conflicts with the `test/` folder.

**To Reproduce**
Steps to reproduce the behavior:
1. `drogon_ctl create project test`
2. `cd test`
3. `cmake .`
4. `make`
5. See error

**Expected behavior**
Could be enhanced a couple of ways. Maybe stop the user from creating the project with this name, or maybe auto-rename the executable so it doesn't conflict with the test folder

**Desktop (please complete the following information):**
- OS: Fedora 42

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.