Files
posthog/turbo.json
2025-02-25 11:55:38 +01:00

37 lines
1.1 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"],
"tasks": {
"prepare": {
"dependsOn": ["^build"]
},
"build": {
"dependsOn": ["^build"],
"inputs": ["src", "Cargo.toml", "!**/*.pyc"],
"outputs": ["dist", "index.node", ".turbo"],
"env": ["RUST_VERSION", "SHARD_INDEX", "SHARD_COUNT"],
"passThroughEnv": ["RUSTUP_HOME", "CARGO_HOME", "DATABASE_URL", "REDIS_URL", "NODE_OPTIONS"]
},
"test": {
"dependsOn": ["^build"],
"inputs": ["src", "tests", "Cargo.toml", "!**/*.pyc"],
"env": ["RUST_VERSION", "SHARD_INDEX", "SHARD_COUNT"],
"passThroughEnv": ["RUSTUP_HOME", "CARGO_HOME", "DATABASE_URL", "REDIS_URL", "NODE_OPTIONS"]
},
"start": {
"dependsOn": ["^build"],
"persistent": true,
"cache": false
},
"dev": {
"dependsOn": ["^build"],
"persistent": true,
"cache": false
},
"clean": {
"dependsOn": ["^clean"],
"cache": false
}
}
}