Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/Roqc/dev/tools/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 498 B image not shown  

Quelle  make_git_revision.sh   Sprache: Shell

 
#!/usr/bin/env bash

if ! command -v git >/dev/null; then
    >&2 echo "skipping make_git_revision: git not found"
    exit 0
fi

if [ -d .git ] || git rev-parse --git-dir > /dev/null 2>&1
then
    export LANG=C
    GIT_BRANCH=$(git branch -a | sed -ne '/^\* /s/^\* \(.*\)/\1/p')
    GIT_HOST=$(hostname)
    GIT_PATH=$(pwd)
    echo "${GIT_HOST}:${GIT_PATH},${GIT_BRANCH}"
    echo $(git log -1 --pretty='format:%H')
else
    >&2 echo "skipping make_git_revision: git dir not found"
    exit 0
fi

92%


¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.