-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (28 loc) · 675 Bytes
/
Makefile
File metadata and controls
35 lines (28 loc) · 675 Bytes
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
# Inspired by https://github.com/snakemake/snakefmt/blob/master/Makefile
PROJECT = plasnet
OS := $(shell uname -s)
VERSION := $(shell poetry version -s)
BOLD := $(shell tput bold)
NORMAL := $(shell tput sgr0)
.PHONY: all
all: install
.PHONY: install
install:
poetry install
.PHONY: install-ci
install-ci:
poetry install --no-interaction
poetry run plasnet --version
.PHONY: pre-commit
pre-commit:
poetry run pre-commit run --all-files -v
.PHONY: test
test:
poetry run python -m unittest discover -s tests -t .
.PHONY: coverage
coverage:
poetry run coverage run -m unittest discover -s tests -t .
poetry run coverage report -m
.PHONY: build
build:
poetry build