-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
33 lines (24 loc) · 995 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
ARA_CALLBACKS = $(shell python3 -m ara.setup.callback_plugins)
ARA_ACTIONS = $(shell python3 -m ara.setup.action_plugins)
all:
echo 'aaa'
ara_install:
pip install --user ara
ara_configure_ansible:
echo "\ncallback_plugins=$(ARA_CALLBACKS)" >> ansible.cfg
echo 'action_plugins=$(ARA_ACTIONS)' >> ansible.cfg
ara_reset:
printf "y\n" | ara-manage dropall
ara-manage createall
ara_server:
ara-manage runserver&
ara_html_report:
ara generate html html_report
pdf:
docker run --rm -v $(CURDIR):/documents/ -e 'ASCIIDOCTOR_PLUGIN=asciidoctor-rouge' -e 'ASCIIDOCTOR_PDF_THEMES_DIR=docs/resources/themes' -e 'ASCIIDOCTOR_PDF_THEME=default' -e 'ASCIIDOCTOR_PDF_FONTS_DIR=docs/resources/fonts' integr8/alpine-asciidoctor-helper pdf docs/index-ptbr.adoc
pdf_open:
xdg-open output/index-ptbr.pdf
html:
docker run --rm -v $(CURDIR):/documents/ -e 'ASCIIDOCTOR_PLUGIN=tel-inline-macro' integr8/alpine-asciidoctor-helper html docs/index-ptbr.adoc
html_open:
xdg-open output/index-ptbr.html