From 1f39e8414846ea752f83bedfb15a7652db9c46b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 25 Jun 2018 09:37:57 +0200 Subject: Update Relx --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ddd7842..1aede8a 100644 --- a/Makefile +++ b/Makefile @@ -84,6 +84,20 @@ up: cd gh-pages && git push origin gh-pages rm -rf gh-pages +ifdef file +up-relx: + git clone git@github.com:ninenines/erlang.mk.git gh-pages + cd gh-pages && git checkout gh-pages + cp $(file) gh-pages/res/ + cd gh-pages && git add . + cd gh-pages && git commit -m "Publish new Relx version" + cd gh-pages && git push origin gh-pages + rm -rf gh-pages +else +up-relx: + @echo Missing parameter: url +endif + ifdef p XDG_DATA_HOME ?= $(HOME)/.local/share INSTALL_DIR ?= $(XDG_DATA_HOME)/erlang.mk/lib -- cgit v1.2.3