##// END OF EJS Templates
makefile: updated makefile to standard layout
marcink -
r1220:03da085c default
parent child Browse files
Show More
@@ -1,11 +1,25 b''
1
2 .PHONY: clean docs docs-clean docs-cleanup test test-clean test-only web-build
1 3
2 4 WEBPACK=./node_modules/webpack/bin/webpack.js
3 5 GRUNT=grunt
4 6 NODE_PATH=./node_modules
5 CI_PREFIX=enterprise
7
8
9 clean:
10 make test-clean
11 find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' \) -exec rm '{}' ';'
6 12
7 .PHONY: docs docs-clean ci-docs clean test test-clean test-lint test-only
13 test:
14 make test-clean
15 make test-only
8 16
17 test-clean:
18 rm -rf coverage.xml htmlcov junit.xml pylint.log result
19 find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';'
20
21 test-only:
22 PYTHONHASHSEED=random py.test -vv -r xw --cov=rhodecode --cov-report=term-missing --cov-report=html rhodecode
9 23
10 24 docs:
11 25 (cd docs; nix-build default.nix -o result; make clean html)
@@ -16,27 +30,6 b' docs-clean:'
16 30 docs-cleanup:
17 31 (cd docs; make cleanup)
18 32
19 ci-docs: docs;
20
21
22 clean: test-clean
23 find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' \) -exec rm '{}' ';'
24
25 test: test-clean test-only
26
27 test-clean:
28 rm -rf coverage.xml htmlcov junit.xml pylint.log result
29
30 test-only:
31 PYTHONHASHSEED=random py.test -vv -r xw --cov=rhodecode --cov-report=term-missing --cov-report=html rhodecode/tests/
32
33 33 web-build:
34 34 NODE_PATH=$(NODE_PATH) $(GRUNT)
35 35
36 web-test:
37 @echo "no test for our javascript, yet!"
38
39 docs-bootstrap:
40 (cd docs; nix-build default.nix -o result)
41 @echo "Please go to docs folder and run make html"
42
General Comments 0
You need to be logged in to leave comments. Login now