Browse Source

singles: shorten revisions the same as in Corrade libs for consistency.

pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
3e43503aca
  1. 2
      src/singles/MagnumMath.hpp
  2. 4
      src/singles/base.h

2
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

4
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

Loading…
Cancel
Save