Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.
Marvin Frick edited this page May 28, 2013 · 1 revision

Option --git-version

Shawn provides option --git-version to help git users manage their simulations.

If you compile Shawn from a git repository and have a Python interpreter available at compile time the SHA1 of the current commit will be compiled into the executable. It will also be marked as "unstaged" (difference to index) or "uncommitted" (index not clean) if not all workfiles are committed during compilation. In other cases (no git repository, no Python available) a diagnostic message will be inserted instead.

Option --git-version makes Shawn print that message and exit immediately.