Alire: how to rename a project

I created my “Hello World” ada project in Alire, but how do I rename it to something else? Do I have to just create a new project?

Here is a very stupid answer:

  1. You could just rename the project in the alire.toml file and in the xxx.gpr file (xxx being your current project name)
  2. Create a new empty project with the correct name and move the code there… Though I suppose you already knew that.

Best regards,
Fer

1 Like

I tried renaming the project in the .toml and .gpr files, but that didn’t work. There were other dependencies. So I did as you suggested in #2 and just created a new empty project with the correct name.