Makefile.version_extra 438 B

1234567891011
  1. # A hack to print the content of version.ml consistently across Windows (cygwin / command prompt) and Unix.
  2. # The hack: http://stackoverflow.com/a/7284135/267998
  3. # The issue: https://github.com/HaxeFoundation/haxe/commit/4f8f6a99ddf810ea045492cdd6d40c55abc03e15#commitcomment-10660400
  4. all: ;
  5. ifneq ($(ADD_REVISION),0)
  6. $(info let version_extra = Some ("git build $(BRANCH)","$(COMMIT_SHA)"))
  7. else
  8. $(info let version_extra = None)
  9. endif