mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
11 lines
422 B
Bash
Executable File
11 lines
422 B
Bash
Executable File
#!/bin/sh
|
|
(
|
|
echo "// This header is generated by the make-revision script."
|
|
echo "// For the version, it uses the latest git tag followed by the number of commits."
|
|
echo "// For the date, it uses the current date (when then script is run)."
|
|
|
|
echo
|
|
echo \#define GLSLANG_REVISION \"`git describe --tags --abbrev=0`.`git log --oneline | wc -l`\"
|
|
echo \#define GLSLANG_DATE \"`date +%d-%b-%Y`\"
|
|
) > glslang/Include/revision.h
|