-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
48 lines (39 loc) · 1.34 KB
/
pyproject.toml
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
48
[tool.poetry]
name = "sbos"
version = "0.1.0"
description = ""
authors = ["Liu Yihao <[email protected]>"]
license = "MIT"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.10"
mkdocs-material = "^9.5.29"
mkdocs-include-markdown-plugin = "^6.2.1"
sbos-minimal = {develop = true, path = "projects/sbos-minimal"}
sbos-playground = {develop = true, path = "projects/sbos-playground"}
settings-doc = "^4.0.1"
poethepoet = "^0.27.0"
[tool.poe.tasks."minimal:build"]
cmd = "docker build . -t tcimba/sbos:minimal"
cwd = "projects/sbos-minimal"
[tool.poe.tasks."_playground:build"]
cmd = "docker build . -t tcimba/sbos:playground"
cwd = "projects/sbos-playground"
[tool.poe.tasks."playground:dev"]
cmd = "docker compose -f docker-compose.yml -f docker-compose-dev.yml up -d --build"
cwd = "projects/sbos-playground"
[tool.poe.tasks."playground:dev:local"]
cmd = "python -m sbos.playground serve"
[tool.poe.tasks."_playground:prod"]
cmd = "docker compose up -d"
cwd = "projects/sbos-playground"
[tool.poe.tasks]
"doc:gen" = "python -m sbos.playground generate-docs"
"_doc:dev" = "mkdocs serve"
"doc:dev" = ["doc:gen", "_doc:dev"]
"playground:build" = ["minimal:build", "_playground:build"]
"playground:prod" = ["playground:build", "_playground:prod"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"