-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpixi.toml
More file actions
49 lines (40 loc) · 1.81 KB
/
pixi.toml
File metadata and controls
49 lines (40 loc) · 1.81 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
43
44
45
46
47
48
49
[workspace]
description = "Style definitions for nice terminal layouts."
authors = ["Mikhail Tavarez <miktavarez@gmail.com>"]
channels = ["https://repo.prefix.dev/mojo-community", "conda-forge", "https://conda.modular.com/max", "https://prefix.dev/pixi-build-backends"]
platforms = ["osx-arm64", "linux-64", "linux-aarch64"]
license = "MIT"
license-file = "LICENSE"
readme = "README.md"
homepage = "https://github.com/thatstoasty/mog"
repository = "https://github.com/thatstoasty/mog"
preview = ["pixi-build"]
[tasks]
tests = "sh -c 'find test -name \"test_*.mojo\" -exec mojo -D ASSERT=all -I . {} \\;'"
benchmarks = "mojo -D ASSERT=all -I . benchmarks/run.mojo"
examples = "sh -c 'find examples -name \"*.mojo\" -exec mojo -D ASSERT=all -I . {} \\;'"
# Linting and Formatting
lint_docs = "mojo doc --Werror --diagnose-missing-doc-strings -o /dev/null ./mist"
mojo_format = "mojo format mog --line-length 120"
format = [{ task = "mojo_format" }]
# Build and publish
build = { cmd = "pixi build -o ." }
publish = { cmd = "find . -name 'mog-*.conda' | xargs pixi upload https://prefix.dev/api/v1/upload/mojo-community" }
build_and_publish = [{ task = "build" }, { task = "publish" }]
[package]
name = "mog"
version = "0.1.0"
[package.build]
backend = { name = "pixi-build-mojo", version = "*" }
[dependencies]
mojo = ">=0.26.2.0,<0.26.3.0"
mist = { git = "https://github.com/thatstoasty/mist.git", tag = "v0.1.0" }
[package.build-dependencies]
mojo-compiler = ">=0.26.2.0,<0.26.3.0"
mist = { git = "https://github.com/thatstoasty/mist.git", tag = "v0.1.0" }
[package.host-dependencies]
mojo-compiler = ">=0.26.2.0,<0.26.3.0"
mist = { git = "https://github.com/thatstoasty/mist.git", tag = "v0.1.0" }
[package.run-dependencies]
mojo-compiler = ">=0.26.2.0,<0.26.3.0"
mist = { git = "https://github.com/thatstoasty/mist.git", tag = "v0.1.0" }