-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpixi.toml
More file actions
42 lines (35 loc) · 1.35 KB
/
pixi.toml
File metadata and controls
42 lines (35 loc) · 1.35 KB
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
[workspace]
authors = ["saviorand"]
channels = ["conda-forge", "https://conda.modular.com/max", "https://repo.prefix.dev/modular-community", "https://repo.prefix.dev/mojo-community"]
channel-priority = "disabled"
description = "Author APIs in Pure Mojo"
platforms = ["osx-arm64", "linux-64"]
license = "MIT"
license-file = "LICENSE"
readme = "README.md"
homepage = "https://github.com/saviorand/lightbug_api"
repository = "https://github.com/saviorand/lightbug_api"
preview = ["pixi-build"]
[package]
name = "lightbug_api"
version = "0.1.1"
[package.build]
backend = { name = "pixi-build-mojo", version = "*" }
[dependencies]
mojo = ">=0.26.2.0,<0.26.3.0"
lightbug_http = ">=0.26.2.0,<0.26.3.0"
[package.host-dependencies]
mojo-compiler = ">=0.26.2.0,<0.26.3.0"
lightbug_http = ">=0.26.2.0,<0.26.3.0"
[package.build-dependencies]
mojo-compiler = ">=0.26.2.0,<0.26.3.0"
[package.run-dependencies]
mojo-compiler = ">=0.26.2.0,<0.26.3.0"
lightbug_http = ">=0.26.2.0,<0.26.3.0"
[tasks]
build = { cmd = "pixi build -o ." }
publish = { cmd = "find . -name 'lightbug_api-*.conda' | xargs pixi upload prefix --channel mojo-community", env = { PREFIX_API_KEY = "$PREFIX_API_KEY" } }
bp = { depends-on = ["build", "publish"] }
template = { cmd = "python scripts/templater.py -m default" }
test = { cmd = "mojo test -I . tests" }
format = { cmd = "mojo format -l 120 lightbug_api" }