forked from Lightbug-HQ/lightbug_http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmojoproject.toml
20 lines (18 loc) · 896 Bytes
/
mojoproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[project]
authors = ["saviorand"]
channels = ["conda-forge", "https://conda.modular.com/max", "https://repo.prefix.dev/mojo-community"]
description = "Simple and fast HTTP framework for Mojo!"
name = "lightbug_http"
platforms = ["osx-arm64", "linux-64"]
version = "0.1.8"
[tasks]
build = { cmd = "rattler-build build --recipe recipes -c https://conda.modular.com/max -c conda-forge --skip-existing=all", env = {MODULAR_MOJO_IMPORT_PATH = "$CONDA_PREFIX/lib/mojo"} }
publish = { cmd = "bash scripts/publish.sh", env = { PREFIX_API_KEY = "$PREFIX_API_KEY" } }
test = { cmd = "magic run mojo test -I . tests" }
integration_test = { cmd = "bash scripts/integration_test.sh" }
bench = { cmd = "magic run mojo bench.mojo" }
bench_server = { cmd = "bash scripts/bench_server.sh" }
format = { cmd = "magic run mojo format -l 120 lightbug_http" }
[dependencies]
max = ">=24.6.0,<25"
small_time = "0.1.6"