Makefile
changeset 45609 e604a3c03ab9
parent 45350 1c8e3c17c702
child 45821 c2837640aeb0
equal deleted inserted replaced
45608:423f17f94f35 45609:e604a3c03ab9
   131 rust-tests: py_feature = $(shell $(PYTHON) -c \
   131 rust-tests: py_feature = $(shell $(PYTHON) -c \
   132  'import sys; print(["python27-bin", "python3-bin"][sys.version_info[0] >= 3])')
   132  'import sys; print(["python27-bin", "python3-bin"][sys.version_info[0] >= 3])')
   133 rust-tests:
   133 rust-tests:
   134 	cd $(HGROOT)/rust/hg-cpython \
   134 	cd $(HGROOT)/rust/hg-cpython \
   135 		&& $(CARGO) test --quiet --all \
   135 		&& $(CARGO) test --quiet --all \
   136 			--no-default-features --features "$(py_feature)"
   136 			--no-default-features --features "$(py_feature) $(HG_RUST_FEATURES)"
   137 
   137 
   138 check-code:
   138 check-code:
   139 	hg manifest | xargs python contrib/check-code.py
   139 	hg manifest | xargs python contrib/check-code.py
   140 
   140 
   141 format-c:
   141 format-c: