##// END OF EJS Templates
Added tag v4.18.3 for changeset 12ed92fe57f2
Added tag v4.18.3 for changeset 12ed92fe57f2

File last commit:

r3976:43ad454c default
r4250:5ee65d9a stable
Show More
Makefile
64 lines | 2.0 KiB | text/x-makefile | MakefileLexer
makefile: updated makefile to standard layout
r1220
makefile: added generate packages
r3450 .PHONY: clean docs docs-clean docs-cleanup test test-clean test-only test-only-postgres test-only-mysql web-build generate-pkgs
project: added all source files and assets
r1
NODE_PATH=./node_modules
js: use builtin packages for binaries...
r3162 WEBPACK=./node_binaries/webpack
GRUNT=./node_binaries/grunt
makefile: updated makefile to standard layout
r1220
clean:
make test-clean
makefile: also cleanup .orig files
r3476 find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';'
project: added all source files and assets
r1
makefile: updated makefile to standard layout
r1220 test:
make test-clean
make test-only
makefile: added commands to quickly build docs.
r13
makefile: updated makefile to standard layout
r1220 test-clean:
rm -rf coverage.xml htmlcov junit.xml pylint.log result
find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';'
makefile: cleanup coverage files for test cleanup
r3845 find . -type f \( -iname '.coverage.*' \) -exec rm '{}' ';'
makefile: updated makefile to standard layout
r1220
test-only:
tests: allow running tests via make file on different databases
r2100 PYTHONHASHSEED=random \
py.test -x -vv -r xw -p no:sugar --cov=rhodecode \
--cov-report=term-missing --cov-report=html \
rhodecode
test-only-mysql:
PYTHONHASHSEED=random \
py.test -x -vv -r xw -p no:sugar --cov=rhodecode \
--cov-report=term-missing --cov-report=html \
makefile: use utf8 for mysql tests
r3976 --ini-config-override='{"app:main": {"sqlalchemy.db1.url": "mysql://root:qweqwe@localhost/rhodecode_test?charset=utf8"}}' \
tests: allow running tests via make file on different databases
r2100 rhodecode
test-only-postgres:
PYTHONHASHSEED=random \
py.test -x -vv -r xw -p no:sugar --cov=rhodecode \
--cov-report=term-missing --cov-report=html \
--ini-config-override='{"app:main": {"sqlalchemy.db1.url": "postgresql://postgres:qweqwe@localhost/rhodecode_test"}}' \
rhodecode
makefile: added commands to quickly build docs.
r13
docs:
(cd docs; nix-build default.nix -o result; make clean html)
project: added all source files and assets
r1
makefile: added commands to quickly build docs.
r13 docs-clean:
(cd docs; make clean)
make: updated docs make commands.
r1214 docs-cleanup:
(cd docs; make cleanup)
project: added all source files and assets
r1 web-build:
NODE_PATH=$(NODE_PATH) $(GRUNT)
makefile: added generate packages
r3450 generate-pkgs:
nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"
makefile: added some handly functions for package generation
r3531
generate-js-pkgs:
rm -rf node_modules && \
nix-shell pkgs/shell-generate.nix --command "node2nix --input package.json -o pkgs/node-packages.nix -e pkgs/node-env.nix -c pkgs/node-default.nix -d --flatten --nodejs-8" && \
sed -i -e 's/http:\/\//https:\/\//g' pkgs/node-packages.nix
generate-license-meta:
nix-build pkgs/license-generate.nix -o result-license && \
cat result-license/licenses.json | python -m json.tool > rhodecode/config/licenses.json