diff options
author | Loïc Hoguin <[email protected]> | 2020-11-19 13:41:58 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-11-19 13:41:58 +0100 |
commit | 8013c892654b20fff4f2647c84a7ee0231b16def (patch) | |
tree | 698c5053ec2167e35e5080ef272d6345e9563d81 /Makefile | |
parent | 8c10fd264c2e482d9c3825c0b443147ecbd48ed2 (diff) | |
download | gun-8013c892654b20fff4f2647c84a7ee0231b16def.tar.gz gun-8013c892654b20fff4f2647c84a7ee0231b16def.tar.bz2 gun-8013c892654b20fff4f2647c84a7ee0231b16def.zip |
Update Erlang.mk and configure Hex
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -32,6 +32,20 @@ AUTO_CI_OTP ?= OTP-22+ # AUTO_CI_ERLLVM ?= OTP-LATEST AUTO_CI_WINDOWS ?= OTP-22+ +# Hex configuration. + +define HEX_TARBALL_EXTRA_METADATA +#{ + licenses => [<<"ISC">>], + links => #{ + <<"Function reference">> => <<"https://ninenines.eu/docs/en/gun/2.0/manual/">>, + <<"User guide">> => <<"https://ninenines.eu/docs/en/gun/2.0/guide/">>, + <<"GitHub">> => <<"https://github.com/ninenines/gun">>, + <<"Sponsor">> => <<"https://github.com/sponsors/essen">> + } +} +endef + # Standard targets. include erlang.mk @@ -122,6 +136,8 @@ update-cookie-tests: # Prepare for the release. prepare_tag: + $(verbose) $(warning Hex metadata: $(HEX_TARBALL_EXTRA_METADATA)) + $(verbose) echo $(verbose) echo -n "Most recent tag: " $(verbose) git tag | tail -n1 $(verbose) git verify-tag `git tag | tail -n1` |