-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpixi.toml
More file actions
62 lines (50 loc) · 2.14 KB
/
Copy pathpixi.toml
File metadata and controls
62 lines (50 loc) · 2.14 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
50
51
52
53
54
55
56
57
58
59
60
61
62
[workspace]
authors = ["Michael Booth <[email protected]>"]
channels = ["conda-forge", "https://conda.modular.com/max"]
name = "mojo-dotenv"
platforms = ["linux-64", "linux-aarch64", "osx-arm64"]
version = "0.9.1"
[activation]
env = { MOJO_PATH = "$PIXI_PROJECT_ROOT/src" }
[tasks]
# Development tasks
mojo-version = "mojo --version"
# Individual tests (for quick iteration)
test-basic = "mojo -I src tests/test_basic.mojo"
test-escapes = "mojo -I src tests/test_escapes.mojo"
test-export = "mojo -I src tests/test_export.mojo"
test-load = "mojo -I src tests/test_load_dotenv.mojo"
test-multiline = "mojo -I src tests/test_multiline.mojo"
test-variables = "mojo -I src tests/test_variables.mojo"
test-phase3plus = "mojo -I src tests/test_phase3plus.mojo"
test-override = "mojo -I src tests/test_override.mojo"
test-helpers = "mojo -I src tests/test_helpers.mojo"
test-compat = "mojo -I src tests/test_python_compat.mojo"
test-missing = "mojo -I src tests/test_missing_files.mojo"
# Test tasks
# Run all tests (auto-discovers tests/test_*.mojo via scripts/run_tests.py)
test-all = "python scripts/run_tests.py"
# Build tasks
build-package = "mkdir -p dist && mojo package src/dotenv -o dist/dotenv.mojopkg"
clean = "rm -rf dist __pycache__ .pytest_cache dotenv.mojopkg"
# Distribution tasks
submit-modular-community = "bash scripts/submit-to-modular-community.sh"
# Example tasks
examples-all = "python scripts/run_examples.py"
# Code quality tasks
prek = "prek run --all-files"
prek-install = "prek install -f"
# Validation tasks
check-mojoenv = "cd ../mojoenv && mojo main.mojo"
# Release / validation tasks
validate-recipe = "./scripts/validate-recipe.sh packaging/recipe.yaml"
pre-submit = "python scripts/pre_submit_checklist.py"
pre-submit-modular-community = "python scripts/pre_submit_checklist.py"
# External integration tasks
clone-modular-community = "mkdir -p ~/code/github/external && cd ~/code/github/external && git clone https://github.com/modular-community/modular-community.git || (cd modular-community && git pull)"
[dependencies]
mojo = "==1.0.0"
python = ">=3.11,<4"
python-dotenv = ">=1.2.1,<2"
prek = ">=0.4.5,<1"
rattler-build = ">=0.55.1,<0.56"