diff options
-rw-r--r-- | index/hex_core.mk | 7 | ||||
-rw-r--r-- | plugins/hex.mk | 11 |
2 files changed, 7 insertions, 11 deletions
diff --git a/index/hex_core.mk b/index/hex_core.mk new file mode 100644 index 0000000..3c5a5d7 --- /dev/null +++ b/index/hex_core.mk @@ -0,0 +1,7 @@ +PACKAGES += hex_core +pkg_hex_core_name = hex_core +pkg_hex_core_description = Reference implementation of Hex specifications +pkg_hex_core_homepage = https://github.com/hexpm/hex_core +pkg_hex_core_fetch = git +pkg_hex_core_repo = https://github.com/hexpm/hex_core +pkg_hex_core_commit = v0.10.1 diff --git a/plugins/hex.mk b/plugins/hex.mk index 6467e31..366f9d5 100644 --- a/plugins/hex.mk +++ b/plugins/hex.mk @@ -1,17 +1,6 @@ # Copyright (c) 2020, Loïc Hoguin <[email protected]> # This file is part of erlang.mk and subject to the terms of the ISC License. -HEX_CORE_GIT ?= https://github.com/hexpm/hex_core -HEX_CORE_COMMIT ?= v0.10.1 - -PACKAGES += hex_core -pkg_hex_core_name = hex_core -pkg_hex_core_description = Reference implementation of Hex specifications -pkg_hex_core_homepage = $(HEX_CORE_GIT) -pkg_hex_core_fetch = git -pkg_hex_core_repo = $(HEX_CORE_GIT) -pkg_hex_core_commit = $(HEX_CORE_COMMIT) - # We automatically depend on hex_core when the project isn't already. $(if $(filter hex_core,$(DEPS) $(BUILD_DEPS) $(DOC_DEPS) $(REL_DEPS) $(TEST_DEPS)),,\ $(eval $(call dep_target,hex_core))) |