pspdev / psptoolchain-allegrex

This program will automatically build and install an Allegrex compiler which is used in the creation of homebrew software for the Sony PlayStation® Portable videogame system.
MIT License
10 stars 9 forks source link

Create build.txt with build information #39

Closed sharkwouter closed 3 months ago

sharkwouter commented 3 months ago

So what this does is create the file $PSPDEV/build.txt which looks like this:

psptoolchain-allegrex 83e31058adf5d34e691393da1e6c539564f2f26a 2024-06-11

It will also replace that line in the build.txt file if there already is a psptoolchain-allegrex entry.

It took some fiddling to get the .git in the docker build environments, but I managed to make it work. Please squish this PR. I would like to add a PR like this for each repo in the build chain. psptoolchain will probably be the most annoying to do, since it's combining 2 repos.

Please squish this if this is merged. Most of the changes here are not useful by themselves and were me testing this change in my fork.

sharkwouter commented 3 months ago

There is currently still a poll open about what the exact path of the build information file should be. I'll update this PR once the result is in.

sharkwouter commented 3 months ago

In the poll it was decided the the current location was the best one. We'll stick to that one.