File: Makefile

package info (click to toggle)
python-molotov 2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,264 kB
  • sloc: python: 4,121; makefile: 60
file content (19 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
HERE = $(shell pwd)
PYTHON = python3
TESTNAME = smoke
BIN = $(HERE)/venv/bin
VENV_PIP = $(BIN)/pip3
VENV_PYTHON = $(BIN)/python
INSTALL = $(VENV_PIP) install

.PHONY: build install test


$(VENV_PYTHON):
	$(PYTHON) -m venv venv

build: $(VENV_PYTHON)
	$(INSTALL) --upgrade git+https://github.com/loads/molotov.git

test: build
	$(BIN)/molotov --config molotov.json $(TESTNAME)