##// END OF EJS Templates
permissions: explicitly register all permissions set for user. Fixes #4217...
permissions: explicitly register all permissions set for user. Fixes #4217 - in order to get a proper inheritance chain of permissions we'll register each step. This allows to get full inheritance chain. Final permissions will be the same becuase the only thing we change is we register each step before permissions final value. - Also display the permissions summary in a nicer way more explicitly stating what permissions overwrites which.

File last commit:

r1220:03da085c default
r2063:8a6e9139 default
Show More
Makefile
35 lines | 766 B | text/x-makefile | MakefileLexer
.PHONY: clean docs docs-clean docs-cleanup test test-clean test-only web-build
WEBPACK=./node_modules/webpack/bin/webpack.js
GRUNT=grunt
NODE_PATH=./node_modules
clean:
make test-clean
find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' \) -exec rm '{}' ';'
test:
make test-clean
make test-only
test-clean:
rm -rf coverage.xml htmlcov junit.xml pylint.log result
find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';'
test-only:
PYTHONHASHSEED=random py.test -vv -r xw --cov=rhodecode --cov-report=term-missing --cov-report=html rhodecode
docs:
(cd docs; nix-build default.nix -o result; make clean html)
docs-clean:
(cd docs; make clean)
docs-cleanup:
(cd docs; make cleanup)
web-build:
NODE_PATH=$(NODE_PATH) $(GRUNT)