summary refs log tree commit diff stats
ModeNameSize
-rw-r--r--.gitignore48log stats plain blame
-rw-r--r--LICENSE34523log stats plain blame
-rw-r--r--README.org3361log stats plain blame
d---------client189log stats plain
d---------contract37log stats plain
d---------landing71log stats plain
-rw-r--r--package-lock.json27log stats plain blame
>125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
commit/055stream.subx?h=hlt&id=71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990'>71eb22a5 ^
7a583220 ^
33352536 ^

03c6f1d3 ^
33352536 ^



bfcc0f85 ^
33352536 ^
bfcc0f85 ^
33352536 ^
03c6f1d3 ^
33352536 ^
03c6f1d3 ^
33352536 ^
3ac95f6a ^

71eb22a5 ^
33352536 ^
03c6f1d3 ^
2a2a5b1e ^
33352536 ^
6070c23e ^
2a2a5b1e ^
6ecddbaa ^
2a2a5b1e ^
33352536 ^
03c6f1d3 ^


33352536 ^

7a583220 ^
33352536 ^

03c6f1d3 ^
f0705578 ^
71eb22a5 ^
7a583220 ^
33352536 ^

f0705578 ^
33352536 ^


-type f -name '*.py') \
	./ranger.py \
	./setup.py \
	./tests
TEST_PATH_CONFIG = ./ranger/config

test_pylint:
	@echo "Running pylint..."
	pylint $(TEST_PATHS_MAIN)
	pylint --rcfile=$(TEST_PATH_CONFIG)/.pylintrc $(TEST_PATH_CONFIG)

test_flake8:
	@echo "Running flake8..."
	flake8 $(TEST_PATHS_MAIN) $(TEST_PATH_CONFIG)

test_doctest:
	@echo "Running doctests..."
	@set -e; \
	for FILE in $(shell grep -IHm 1 doctest -r ranger | grep $(FILTER) | cut -d: -f1); do \
		echo "Testing $$FILE..."; \
		RANGER_DOCTEST=1 PYTHONPATH=".:"$$PYTHONPATH ${PYTHON} $$FILE; \
	done

test_pytest:
	@echo "Running py.test tests..."
	py.test tests

test_other:
	@echo "Checking completeness of man page..."
	@tests/manpage_completion_test.py

test: test_pylint test_flake8 test_doctest test_pytest test_other
	@echo "Finished testing: All tests passed!"

man:
	pod2man --stderr --center='ranger manual' --date='$(NAME)-$(VERSION)' \
		--release=$(shell date +%x) doc/ranger.pod doc/ranger.1
	pod2man --stderr --center='rifle manual' --date='$(NAME_RIFLE)-$(VERSION_RIFLE)' \
		--release=$(shell date +%x) doc/rifle.pod doc/rifle.1

manhtml:
	pod2html doc/ranger.pod --outfile=doc/ranger.1.html

cleandoc:
	test -d $(DOCDIR) && rm -- $(DOCDIR)/*.html || true

snapshot:
	git archive --prefix='$(NAME)-$(VERSION)/' --format=tar HEAD | gzip > $(SNAPSHOT_NAME)

dist: snapshot

todo:
	@grep --color -Ion '\(TODO\|XXX\).*' -r ranger

.PHONY: clean cleandoc compile default dist doc help install man manhtml \
	options snapshot test test_pylint test_flake8 test_doctest test_pytest \
	test_other todo pypi_sdist
alt'>
70
71
72
73
74