diff --git a/src/singles/MagnumMath.hpp b/src/singles/MagnumMath.hpp index cd680637a..25d5c6cfe 100644 --- a/src/singles/MagnumMath.hpp +++ b/src/singles/MagnumMath.hpp @@ -115,7 +115,7 @@ /* We're taking stuff from integration as well */ #pragma ACME path ../../../magnum-integration/src -#pragma ACME revision magnum-integration/src echo "$(git describe --long --match 'v*') ($(date -d @$(git log -1 --format=%at) +%Y-%m-%d))" +#pragma ACME revision magnum-integration/src echo "$(git describe --long --match 'v*' --abbrev=4) ($(date -d @$(git log -1 --format=%at) +%Y-%m-%d))" /* CORRADE_DEBUG_ASSERT, CORRADE_CONSTEXPR_DEBUG_ASSERT, CORRADE_INTERNAL_DEBUG_ASSERT_OUTPUT and diff --git a/src/singles/base.h b/src/singles/base.h index 067d6bf7d..5e237e357 100644 --- a/src/singles/base.h +++ b/src/singles/base.h @@ -50,7 +50,7 @@ #pragma ACME disable Corrade_Utility_Assert_h #pragma ACME disable Corrade_Utility_DebugAssert_h -#pragma ACME revision corrade/src echo "$(git describe --long --match 'v*') ($(date -d @$(git log -1 --format=%at) +%Y-%m-%d))" -#pragma ACME revision magnum/src echo "$(git describe --long --match 'v*') ($(date -d @$(git log -1 --format=%at) +%Y-%m-%d))" +#pragma ACME revision corrade/src echo "$(git describe --long --match 'v*' --abbrev=4) ($(date -d @$(git log -1 --format=%at) +%Y-%m-%d))" +#pragma ACME revision magnum/src echo "$(git describe --long --match 'v*' --abbrev=4) ($(date -d @$(git log -1 --format=%at) +%Y-%m-%d))" #pragma ACME stats loc wc -l #pragma ACME stats preprocessed g++ -std=c++11 -P -E -x c++ - | wc -l