blob: a89ff08772c816bc177422f7f72518ac64c8878a [file] [log] [blame]
John Kessenich0da9eaa2015-08-01 17:10:02 -06001#!/bin/sh
John Kessenich61d7d7a2015-08-02 16:11:21 -06002(
John Kessenich0da9eaa2015-08-01 17:10:02 -06003echo "// This header is generated by the make-revision script."
John Kessenich0da9eaa2015-08-01 17:10:02 -06004echo
John Kessenichc6c80a62018-03-05 22:23:17 -07005echo \#define GLSLANG_PATCH_LEVEL `git log --oneline | wc -l`
John Kessenich61d7d7a2015-08-02 16:11:21 -06006) > glslang/Include/revision.h