excalidraw en.json + Makefile update

This commit is contained in:
Martin Kavík 2024-10-01 11:11:13 +02:00
parent cc6dc79a39
commit ad68d2c282
3 changed files with 628 additions and 2 deletions

View file

@ -280,13 +280,26 @@ command = "node_modules/.bin/tsc.cmd"
[tasks.init_excalidraw_canvas]
description = "Initialize `frontend/typescript/excalidraw_canvas`"
dependencies = [
"init_excalidraw_canvas_npm_install",
"init_excalidraw_canvas_en_json",
]
[tasks.init_excalidraw_canvas_npm_install]
description = "Partly initialize `frontend/typescript/excalidraw_canvas`"
cwd = "frontend/typescript/excalidraw_canvas"
command = "npm"
args = ["install"]
[tasks.init_excalidraw_canvas.windows]
[tasks.init_excalidraw_canvas_npm_install.windows]
command = "npm.cmd"
[tasks.init_excalidraw_canvas_en_json]
description = "Partly initialize `frontend/typescript/excalidraw_canvas`"
cwd = "frontend/typescript/excalidraw_canvas"
command = "cp"
args = ["-r", "locales", "node_modules/@excalidraw/excalidraw/types/"]
[tasks.watch_excalidraw_canvas]
description = "Build and typescheck Typescript on change"
run_task = { fork = true, parallel = true, name = [