Makefile 449 Bytes
Newer Older
1
2
3
4
5
6
CMD_PYTHON=python2
PYTHON=$(CMD_PYTHON) -m cadbiom
#LOGLEVEL=--loglevel=debug
#LOGLEVEL=--loglevel=info

COMMAND=$(PYTHON) $(LOGLEVEL)
7

VIGNET Pierre's avatar
VIGNET Pierre committed
8
9
10
11
.PHONY: all
all: build

.PHONY: build
12
build:
13
	pip2 install -r requirements.txt
14

15
16
17
18
19
20
21
.PHONY: run_gui
run_gui:
	@echo Launch GUI
	$(COMMAND) run_gui

unit_test:
	@echo Unit tests...
22
	$(CMD_PYTHON) script_mac.py -vv debug compute_macs bio_models/mini_test_publi.bcx P --steps 10
23
24
25
26
	py.test

version:
	$(COMMAND) --version