From e8aa6ab5d17e38e953161cc58228f113123e749c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 14 Nov 2024 15:33:19 +0100 Subject: Add hex_core as a proper Erlang.mk package --- index/hex_core.mk | 7 +++++++ plugins/hex.mk | 11 ----------- 2 files changed, 7 insertions(+), 11 deletions(-) create mode 100644 index/hex_core.mk 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 # 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))) -- cgit v1.2.3