Mark IdrisPaths.idr @generated

This commit is contained in:
Stiopa Koltsov 2021-01-16 08:28:56 +00:00 committed by G. Allais
parent 1376bdf3f2
commit 0e0b45e666

View File

@ -59,7 +59,8 @@ ${TARGET}: src/IdrisPaths.idr
# We use FORCE to always rebuild IdrisPath so that the git SHA1 info is always up to date
src/IdrisPaths.idr: FORCE
echo 'module IdrisPaths' > src/IdrisPaths.idr
echo '-- @generated' > src/IdrisPaths.idr
echo 'module IdrisPaths' >> src/IdrisPaths.idr
echo 'export idrisVersion : ((Nat,Nat,Nat), String); idrisVersion = ((${MAJOR},${MINOR},${PATCH}), "${GIT_SHA1}")' >> src/IdrisPaths.idr
echo 'export yprefix : String; yprefix="${IDRIS2_PREFIX}"' >> src/IdrisPaths.idr