/ .moon / workspace.yml
workspace.yml
 1  # Moon workspace configuration.
 2  # Manages project structure and tasks.
 3  
 4  projects:
 5    # Library crate
 6    lib:
 7      id: lib
 8      language: rust
 9      path: crates/lib
10      platform: rust
11      tasks:
12        type:
13          command: cargo clippy --package luxor-lib
14          type: lint
15        test:
16          command: cargo test --package luxor-lib
17          type: test
18        coverage:
19          command: cargo llvm-cov --package luxor-lib --html
20          type: test
21          outputs:
22            - target/llvm-cov
23  
24    # CLI application
25    cli:
26      id: cli
27      language: rust
28      path: crates/cli
29      platform: rust
30      tasks:
31        type:
32          command: cargo clippy --package luxor
33          type: lint
34        test:
35          command: cargo test --package luxor
36          type: test
37        build:
38          command: cargo build --release --bin luxor
39          type: build
40          outputs:
41            - target/release/luxor
42  
43  runner:
44    arch:
45      x64:
46        command: cargo
47  
48  rust:
49    version: "1.92"
50    components:
51      - clippy
52      - llvm-tools-preview