Re:Show HN: Getada: rustup-like installer for Ada's toolchai...
by ajdude on Tuesday April 23, 2024 @02:53PM
(#40135717)
Alire puts "/obj/", "/bin/", "/alire/", and "/config/" into its .gitignore when creating a new project so the platform-specific stuff shouldn't end up on other developer's machines. After your initial "alr init --bin myproj" you can dive into your "myproj.gpr" and do more than what alire supports in its toml file.
[ Parent
| on HN ]
Re:Show HN: Getada: rustup-like installer for Ada's toolchai...
by Avshalom on Tuesday April 23, 2024 @04:18PM
(#40136776)
which is fine if you're using git. Just like asking me for my github login would be fine, if I used github and expected to ever distribute sdl_helloworld.
Re:Show HN: Getada: rustup-like installer for Ada's toolchai...
by kevlar700 on Tuesday April 23, 2024 @04:03PM
(#40136617)
literally
alr init --bin new_project
cd new_project
alr edit
Re:Show HN: Getada: rustup-like installer for Ada's toolchai...
by crabbone on Tuesday April 23, 2024 @04:48PM
(#40137077)
Turns out putting "config" in .gitignore isn't a very good idea. Or, at least, there's a problem with what setting go into "config". In particular, compiler options, end up ignored... I had to undo it in the project I'm working on because I got tired of having to restore these options every time I change something else in dependencies / other project configuration.
Re:Show HN: Getada: rustup-like installer for Ada's toolchai...
by adezxc on Tuesday April 23, 2024 @05:26PM
(#40137510)
We use SVN in our university lab, so no, that didn't work when I tried it initially. obj and bin was obvious to ignore, but I wasn't so sure about config and alire, might be helpful though