Hello, getting started with Ada and alr
I naively tried to create a crate project name of "new" (simply going for something fast and easy to begin working on exercises). While an experienced Ada developer might avoid such a minor issue, I opted to report it. Before I submitted I tried with alr init --lib accept
and alr init --bin for
and found the same issue. Perhaps it could fail similar to how creating a crate with an uppercase character results in an error or maybe it could be a warning (and that there are valid use cases?)?
info: β Building accept/accept.gpr...
detail: Spawning: ["gprbuild", "-v", "-s", "-j0", "-p", "-P", "/home/kondor6c/dev/ada/accept/accept.gpr"]
==============Messages for file: /home/kondor6c/dev/ada/accept/accept.gpr
2. project Accept is
|
>>> identifier expected
gprbuild: "/home/kondor6c/dev/ada/accept/accept.gpr" processing failed
error: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/kondor6c/dev/ada/accept/accept.gpr"] exited with code 4
error: Compilation failed.
detail: alr build unsuccessful
detail: Env: Alire sets 'True' to 'ALIRE'
info: β Building new/new.gpr...
detail: Spawning: ["gprbuild", "-v", "-s", "-j0", "-p", "-P", "/home/kondor6c/dev/ada/new/new.gpr"]
==============Messages for file: /home/kondor6c/dev/ada/new/new.gpr
2. project New is
|
>>> identifier expected
gprbuild: "/home/kondor6c/dev/ada/new/new.gpr" processing failed
error: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/kondor6c/dev/ada/new/new.gpr"] exited with code 4
error: Compilation failed.
detail: alr build unsuccessful
If this is intended I apologize for the noise :-)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too