mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
chore: improve ci build speed (#2953)
This commit is contained in:
25
packages/native/project.json
Normal file
25
packages/native/project.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "@affine/native",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"root": "packages/native",
|
||||
"sourceRoot": "packages/native/src",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "nx:run-script",
|
||||
"dependsOn": ["^build"],
|
||||
"options": {
|
||||
"script": "build"
|
||||
},
|
||||
"inputs": [
|
||||
{
|
||||
"runtime": "rustc --version"
|
||||
},
|
||||
{
|
||||
"runtime": "node -v"
|
||||
}
|
||||
],
|
||||
"outputs": ["{projectRoot}/*.node", "{workspaceRoot}/affine.db"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user