Merge branch 'feature/writeGitCommit' into 'development'
Adds the commit to the output folder See merge request JorgeGonz/fpakc!40
This commit is contained in:
commit
167e25e276
1 changed files with 5 additions and 0 deletions
|
|
@ -518,6 +518,11 @@ MODULE moduleSolver
|
||||||
|
|
||||||
INTEGER, INTENT(in):: t
|
INTEGER, INTENT(in):: t
|
||||||
|
|
||||||
|
IF (t == tInitial) THEN
|
||||||
|
CALL SYSTEM('git rev-parse HEAD > ' // path // folder // '/' // 'fpack_commit.txt')
|
||||||
|
|
||||||
|
END IF
|
||||||
|
|
||||||
counterOutput = counterOutput + 1
|
counterOutput = counterOutput + 1
|
||||||
IF (counterOutput >= triggerOutput .OR. &
|
IF (counterOutput >= triggerOutput .OR. &
|
||||||
t == tFinal .OR. t == tInitial) THEN
|
t == tFinal .OR. t == tInitial) THEN
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue