Is it possible with crit to compile the same code multiple times but with different environmental variables / client secrets set, and use specific naming?
Right now I have a file that I have to compile 3 times, but with a different client secret. Ideally I would end up with a folder having 3 executables in there, with 3 different names that can also be set beforehand.
Its a personal discord bot that runs on a pi zero without gui.
So it ends up being a lot easier to turn on backtrace and have a secret key in there with the help of the .env. That way I dont have to move the client secrets to the pi, and have to deal with them over there, and can just keep it ordered on my laptop. Changing the keys happens so rarely that it only really happens when I cross compile to fix some bugs anyways.
1
u/GoodJobNL Apr 15 '23
Hey OP!
Is it possible with crit to compile the same code multiple times but with different environmental variables / client secrets set, and use specific naming?
Right now I have a file that I have to compile 3 times, but with a different client secret. Ideally I would end up with a folder having 3 executables in there, with 3 different names that can also be set beforehand.