{
  "name": "@nisaba/languages-wasm",
  "$schema": "../../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "libs/nisaba/languages/rust/src",
  "projectType": "library",
  "tags": ["scope:nisaba", "layer:domain", "type:wasm"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "options": {
        "commands": [
          "cargo build --release --manifest-path libs/nisaba/languages/rust/Cargo.toml",
          "wasm-pack build libs/nisaba/languages/rust --target web --out-dir dist/wasm"
        ],
        "cwd": "{workspaceRoot}"
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cargo test --manifest-path libs/nisaba/languages/rust/Cargo.toml",
        "cwd": "{workspaceRoot}"
      }
    },
    "clippy": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cargo clippy --manifest-path libs/nisaba/languages/rust/Cargo.toml -- -D warnings",
        "cwd": "{workspaceRoot}"
      }
    }
  }
}
