-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (35 loc) · 773 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
39
40
41
42
43
44
45
46
47
.PHONY: install
install:
poetry install
.PHONY: brain-games
brain-games:
poetry run brain-games
.PHONY: brain-even
brain-even:
poetry run brain-even
.PHONY: brain-calc
brain-calc:
poetry run brain-calc
.PHONY: brain-gcd
brain-gcd:
poetry run brain-gcd
.PHONY: brain-progression
brain-progression:
poetry run brain-progression
.PHONY: brain-prime
brain-prime:
poetry run brain-prime
dist/hexlet_code-*-py3-none-any.whl: brain_games/**/*.py
poetry build --format wheel
build: dist/hexlet_code-*-py3-none-any.whl
.PHONY: lint
lint:
poetry run flake8 brain_games
.PHONY: clean
clean:
rm -r dist/
.PHONY: publish
publish:
poetry publish --dry-run
package-install: build
python3 -m pip install --force-reinstall --user dist/hexlet_code-*-py3-none-any.whl