Describe the bug
When issuing a command to generate the project structure i keep getting errors.
The problem is that it first generates a directory under the path, but then for the others it tries to go on the lowercase path instead of following the -path with the proper case
ergo -path ~/Projects \
-init codru{tls} \
-with-app Codru \
-with-actor Codru:MyActorInApp \
-with-sup Codru:MainSup \
-with-actor MainSup:CodruActor \
-with-tcp "MainSup:MyTCP{port:7777,tls}" \
-with-pool MainSup:MyPool{size:4} \
-with-web "WebPower{port:8888,tls}" \
-with-msg CodruMsg1 \
-with-msg CodruMsg2 \
-with-logger colored \
-with-logger rotate \
-with-observer
error: open /home/amurg/projects/codru/apps/codru/myactorinapp.go: no such file or directory
To Reproduce
Steps to reproduce the behavior:
Just issue the above command on a directory which has an uppercase letter in it, and you will notice it generates 1-2 ffiles there and the resst it tries to generate in a lowercase folder.
Expected behavior
I'd expect that it would NOT change the ~/Projects path to lowercase ~/projects parent path.
Environment (please complete the following information):
- Arch: x86_64
- OS: Debian 13 Linux
- Number of CPU or (GOMAXPROCS value)
Additional context
n/a
I finally got it working by generating in a lowercase directory and copying the code over. This might frustrate newcomers.
Describe the bug
When issuing a command to generate the project structure i keep getting errors.
The problem is that it first generates a directory under the path, but then for the others it tries to go on the lowercase path instead of following the
-pathwith the proper caseerror: open /home/amurg/projects/codru/apps/codru/myactorinapp.go: no such file or directory
To Reproduce
Steps to reproduce the behavior:
Just issue the above command on a directory which has an uppercase letter in it, and you will notice it generates 1-2 ffiles there and the resst it tries to generate in a lowercase folder.
Expected behavior
I'd expect that it would NOT change the ~/Projects path to lowercase ~/projects parent path.
Environment (please complete the following information):
Additional context
n/a
I finally got it working by generating in a lowercase directory and copying the code over. This might frustrate newcomers.