diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -2,16 +2,11 @@ PROJECT = cowlib PROJECT_DESCRIPTION = Support library for manipulating Web protocols. -PROJECT_VERSION = 2.10.1 +PROJECT_VERSION = 2.15.0 # Options. #ERLC_OPTS += +bin_opt_info -ifdef HIPE - ERLC_OPTS += -smp +native - TEST_ERLC_OPTS += -smp +native -endif - DIALYZER_OPTS = -Werror_handling -Wunmatched_returns # Dependencies. @@ -21,11 +16,12 @@ LOCAL_DEPS = crypto DOC_DEPS = asciideck TEST_DEPS = $(if $(CI_ERLANG_MK),ci.erlang.mk) base32 horse proper jsx \ - structured-header-tests uritemplate-tests -dep_base32 = git https://github.com/dnsimple/base32_erlang master + decimal structured-header-tests uritemplate-tests +dep_base32 = git https://github.com/dnsimple/base32_erlang main dep_horse = git https://github.com/ninenines/horse.git master dep_jsx = git https://github.com/talentdeficit/jsx v2.10.0 -dep_structured-header-tests = git https://github.com/httpwg/structured-header-tests e614583397e7f65e0082c0fff3929f32a298b9f2 +dep_decimal = git https://github.com/egobrain/decimal 0.6.2 +dep_structured-header-tests = git https://github.com/httpwg/structured-header-tests faed1f92942abd4fb5d61b1f9f0dc359f499f1d7 dep_uritemplate-tests = git https://github.com/uri-templates/uritemplate-test master # CI configuration. @@ -33,10 +29,8 @@ dep_uritemplate-tests = git https://github.com/uri-templates/uritemplate-test ma dep_ci.erlang.mk = git https://github.com/ninenines/ci.erlang.mk master DEP_EARLY_PLUGINS = ci.erlang.mk -AUTO_CI_OTP ?= OTP-21+ -AUTO_CI_HIPE ?= OTP-LATEST -# AUTO_CI_ERLLVM ?= OTP-LATEST -AUTO_CI_WINDOWS ?= OTP-21+ +AUTO_CI_OTP ?= OTP-LATEST-24+ +AUTO_CI_WINDOWS ?= OTP-LATEST-24+ # Hex configuration. @@ -44,7 +38,7 @@ define HEX_TARBALL_EXTRA_METADATA #{ licenses => [<<"ISC">>], links => #{ - <<"Function reference">> => <<"https://ninenines.eu/docs/en/cowlib/2.10/manual/">>, + <<"Function reference">> => <<"https://ninenines.eu/docs/en/cowlib/2.15/manual/">>, <<"GitHub">> => <<"https://github.com/ninenines/cowlib">>, <<"Sponsor">> => <<"https://github.com/sponsors/essen">> } @@ -55,6 +49,11 @@ endef include erlang.mk +# Always rebuild from scratch in CI because OTP-25.0+ can't use the older build. + +ci-setup:: distclean-deps + -$(verbose) rm -rf $(ERLANG_MK_TMP)/rebar + # Compile options. TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}' +'{parse_transform, horse_autoexport}' @@ -108,6 +107,8 @@ prepare_tag: $(verbose) echo -n "APP: " $(verbose) grep -m1 vsn ebin/$(PROJECT).app | sed 's/ //g' $(verbose) echo + $(verbose) echo -n "LICENSE: " ; head -n1 LICENSE + $(verbose) echo $(verbose) echo "Dependencies:" $(verbose) grep ^DEPS Makefile || echo "DEPS =" $(verbose) grep ^dep_ Makefile || true |