Skip to content

Commit

Permalink
Cache task "generate"
Browse files Browse the repository at this point in the history
  • Loading branch information
joluj committed May 31, 2024
1 parent 5ee7c1e commit 738298d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions libs/language-server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@
"targets": {
"generate": {
"executor": "nx:run-commands",
"cache": true,
"inputs": [
"{projectRoot}/langium-config.json",
"{workspaceRoot}/tools/scripts/fix-monarch-grammar-escape.mjs",
"{workspaceRoot}/tools/scripts/language-server/generate-stdlib.mjs",
"{projectRoot}/src/grammar"
],
"outputs": [
"{workspaceRoot}/apps/vs-code-extension/assets/jayvee.tmLanguage.json",
"{workspaceRoot}/libs/monaco-editor/src/lib/jayvee.monarch.ts",
"{workspaceRoot}/apps/docs/src/theme/prism-jayvee.js",
"{projectRoot}/src/lib/ast/generated"
],
"options": {
"commands": [
"langium generate -f libs/language-server/langium-config.json",
Expand Down

0 comments on commit 738298d

Please sign in to comment.