forked from Pixidos/GPWebPay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
48 lines (36 loc) · 1.41 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
fix:
vendor/bin/phpcbf
testPhpCs:
@printf "\e[103;30m****************************** PhpCs ******************************\e[0m\n"
vendor/bin/phpcs -p
testPhpStan:
@printf "\e[103;30m****************************** PhpStan ******************************\e[0m\n"
@printf "Running stan...\n"
vendor/bin/phpstan analyse
testPhp:
@printf "\e[103;30m****************************** PhpTest ******************************\e[0m\n"
vendor/bin/tester tests --coverage coverage.xml -C --coverage-src src
@rm -rf ./tmp
test: testPhpCs testPhpStan testPhp
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SOURCEDIR = docs
BUILDDIR = docs/_build
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) docs
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) docs
clean:
rm -rf $(BUILDDIR)/*
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."