https://github.com/GPflow/GPflow
Revision 6575e90ac72aa07855659299a5fa2e6830cea121 authored by st-- on 13 March 2020, 17:24:58 UTC, committed by GitHub on 13 March 2020, 17:24:58 UTC
1 parent 46809a1
Raw File
Tip revision: 6575e90ac72aa07855659299a5fa2e6830cea121 authored by st-- on 13 March 2020, 17:24:58 UTC
Update Makefile: add 'make format' (#1313)
Tip revision: 6575e90
Makefile
.PHONY: help clean dev-install install package format test

help:
	@echo "The following make targets are available:"
	@echo "	dev-install		install all dependencies for dev environment and sets a egg link to the project sources"
	@echo "	install			install all dependencies and the project in the current environment"
	@echo "	package			build pip package"
	@echo "	test			run all tests in parallel"
	@echo "	clean			removes package, build files and egg info"

clean:
	rm -rf dist *.egg-info build

dev-install:
	pip install -e .

install:
	pip install .

package:
	python setup.py bdist

format:
	black -t py36 --line-length=100 gpflow tests

test:
	pytest -v --durations=10 tests/
back to top