Commit graph

4 commits

Author SHA1 Message Date
Fabrice Delliaux
420143d76e
build: improve pyjson5 module import
Trying to build on Gentoo Linux is failing with the following :
> Traceback (most recent call last):
>   File "[...]/TR1X/tools/generate_init", line 7, in <module>
>     import pyjson5
> ModuleNotFoundError: No module named 'pyjson5'

On Gentoo, pyjson5 module is installed as json5.

Signed-off-by: Fabrice Delliaux <netbox253@gmail.com>
2023-12-13 09:31:45 +01:00
Marcin Kurczewski
cd64a006df
misc: rebrand project to TR1X (#1008) 2023-09-26 16:22:29 +02:00
Marcin Kurczewski
d87837d951 build: always bump git version; remove init.c
Rebuilding the exe was not updating the git version shown inside the
game, which caused me some issues when I was working on the project
across two machines. This new approach forces meson to always reconsider
the current version, and rebuild relevant autogenerated files:
version.rc and init.c prior to linking the .exe.

Furthermore, the versioned init.c was removed. The existing users who
choose to build without Docker will continue to see fallback
information, but the mechanism was changed from a versioned file to a
special environment variable that's set by the Docker builds.

This change should require no action other than a clean project rebuild
on the part of the users.
2023-08-31 23:31:46 +02:00
rr-
70324d13cf scripts: rename to tools 2022-05-13 22:48:45 +02:00
Renamed from scripts/generate_init (Browse further)