-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
38 lines (29 loc) · 852 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SHELL:=/bin/bash
VERSION=0x03
.PHONY: gen_grpc
gen_grpc:
@python3 -m grpc_tools.protoc -I. --python_out=. --pyi_out=. --grpc_python_out=. beams/sequencer/remote_calls/sequencer.proto
.PHONY: update_beams
update_beams:
@cd beams && pip install --editable ..
.PHONY: flake8
flake8:
@python3 -m flake8 || true
.PHONY: test
test:
@source venv/bin/activate && pytest
.PHONY: test_verbose
test_verbose:
@source venv/bin/activate && pytest --capture=tee-sys
.PHONY: test_artifacts
test_artifacts:
@python3 beams/tests/artifacts/egg_generator.py
.PHONY: run_sequencer
run_sequencer:
@source venv/bin/activate && python3 beams/sequencer/Sequencer.py
.PHONY: docker_build
docker_build:
@docker build -f docker/Dockerfile --tag beams_playpen .
.PHONY: docker_run
docker_run:
@docker run --rm -it --hostname "psbuild-rhel7" beams_playpen || true