You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kranc should output its directory and branch when it runs. This should go to the screen, and probably also to the generated thorn's README or a small source file. This may help prevent surprises if people accidentally run the wrong version.
I use the following piece of code to achieve this for another Mathematica package. It first checks for BUILD_ID and GIT_REVISION files (which are included in releases), and then falls back to detecting these manually.
Kranc should output its directory and branch when it runs. This should go to the screen, and probably also to the generated thorn's README or a small source file. This may help prevent surprises if people accidentally run the wrong version.
(Requested by Erik Schnetter in https://trac.einsteintoolkit.org/ticket/698)
The text was updated successfully, but these errors were encountered: