aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile38
1 files changed, 6 insertions, 32 deletions
diff --git a/Makefile b/Makefile
index 8a806cc..4ee915a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,9 @@ PROJECT = gun
CT_OPTS += -pa test -ct_hooks gun_ct_hook [] -boot start_sasl
PLT_APPS = ssl
+CI_OTP = OTP-17.0.2 OTP-17.1.2 OTP-17.2.2 OTP-17.3.4 OTP-17.4.1 OTP-17.5.3
+
+CT_SUITES = twitter
# Dependencies.
@@ -19,36 +22,7 @@ dep_ct_helper = git https://github.com/extend/ct_helper.git master
include erlang.mk
-# AsciiDoc.
-
-.PHONY: asciidoc asciidoc-guide asciidoc-manual clean-asciidoc
-
-MAN_INSTALL_PATH ?= /usr/local/share/man
-MAN_SECTIONS ?= 3 7
-
-asciidoc: clean-asciidoc asciidoc-guide asciidoc-manual
-
-asciidoc-guide:
- a2x -v -f pdf doc/src/guide/book.asciidoc && mv doc/src/guide/book.pdf doc/guide.pdf
- a2x -v -f chunked doc/src/guide/book.asciidoc && mv doc/src/guide/book.chunked/ doc/html/
-
-asciidoc-manual:
- for f in doc/src/manual/*.asciidoc ; do \
- a2x -v -f manpage $$f ; \
- done
- for s in $(MAN_SECTIONS); do \
- mkdir -p doc/man$$s/ ; \
- mv doc/src/manual/*.$$s doc/man$$s/ ; \
- gzip doc/man$$s/*.$$s ; \
- done
-
-clean:: clean-asciidoc
-
-clean-asciidoc:
- $(gen_verbose) rm -rf doc/html/ doc/guide.pdf doc/man3/ doc/man7/
+# Open logs after CI ends.
-install-docs:
- for s in $(MAN_SECTIONS); do \
- mkdir -p $(MAN_INSTALL_PATH)/man$$s/ ; \
- install -g 0 -o 0 -m 0644 doc/man$$s/*.gz $(MAN_INSTALL_PATH)/man$$s/ ; \
- done
+ci::
+ xdg-open logs/all_runs.html