mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-13 05:48:39 +03:00
Mark IdrisPaths.idr @generated
This commit is contained in:
parent
1376bdf3f2
commit
0e0b45e666
3
Makefile
3
Makefile
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user