versions.mk 321 B

123456789101112
  1. # Agda version.
  2. VERSION=2.6.0
  3. # GHC version removing the patchlevel number (e.g. in GHC 7.10.3, the
  4. # patchlevel number is 3).
  5. # We ask if GHC is available for removing a warning on Travis when
  6. # testing the documentation.
  7. ifneq ($(shell which ghc),)
  8. GHC_VERSION := $(shell ghc --numeric-version | cut -d. -f1-2)
  9. endif