cyphesis/scripts/gen_buildid.py
Olek Wojnar d9edddbb71 Remove obsolete buildTime/buildDate system
The __TIME__ and __DATE__ macros were interfering with reproducible builds.
2016-09-04 15:35:21 -04:00

19 lines
267 B
Python
Executable file

#!/usr/bin/env python
import sys
build_id = open(sys.argv[2], 'w')
build_id.write(
"""// This file was generated by gen_buildid.py
// Do not edit
#include "common/const.h"
namespace consts {
const char * buildId = "%s";
}
""" % sys.argv[1])
build_id.close()