From d405053db039651cd50a185fe4247e6d155f086e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 24 Nov 2020 17:12:15 +0100 Subject: Sort files before printing them --- plugins/hex.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/hex.mk') diff --git a/plugins/hex.mk b/plugins/hex.mk index 4319b01..455d920 100644 --- a/plugins/hex.mk +++ b/plugins/hex.mk @@ -79,20 +79,19 @@ hex-key-add: hex-core HEX_TARBALL_EXTRA_METADATA ?= # @todo Check that we can += files -# @todo Probably better if we sort the core_find results. HEX_TARBALL_FILES ?= \ $(wildcard early-plugins.mk) \ $(wildcard ebin/$(PROJECT).app) \ $(wildcard ebin/$(PROJECT).appup) \ $(wildcard $(notdir $(ERLANG_MK_FILENAME))) \ - $(call core_find,include/,*.hrl) \ + $(sort $(call core_find,include/,*.hrl)) \ $(wildcard LICENSE*) \ $(wildcard Makefile) \ $(wildcard plugins.mk) \ - $(call core_find,priv/,*) \ + $(sort $(call core_find,priv/,*)) \ $(wildcard README*) \ $(wildcard rebar.config) \ - $(call core_find,src/,*) + $(sort $(call core_find,src/,*)) HEX_TARBALL_OUTPUT_FILE ?= $(ERLANG_MK_TMP)/$(PROJECT).tar -- cgit v1.2.3