update .mise/config.toml in unexplrd-mise

This commit is contained in:
2026-03-29 17:27:59 +03:00
parent ffa3ce0bdc
commit 9abbc7c1e1
+8 -12
View File
@@ -30,19 +30,15 @@ nure_package_path = "{{vars.package_dir}}/{{vars.nure_package_name}}/{{vars.nure
TYPST_PACKAGE_DIR = "{{vars.package_dir}}"
TYPST_PACKAGE_PATH = "$TYPST_PACKAGE_DIR"
[tasks.watch]
depends = ["fetch-nure-package"]
run = "mise exec -- typst watch {{vars.work_input_file}} {{vars.work_output_file}}"
[tasks]
compile.depends = ["fetch-nure-package"]
watch.depends = ["fetch-nure-package"]
compile.run = "mise exec -- typst compile {{vars.work_input_file}} {{vars.work_output_file}}"
watch.run = "mise exec -- typst watch {{vars.work_input_file}} {{vars.work_output_file}}"
format.run = "mise exec -- typstyle -l 120 -i $MISE_PROJECT_ROOT/src"
clean.run = "rm -rvif *.pdf"
[tasks.compile]
depends = ["fetch-nure-package"]
run = "mise exec -- typst compile {{vars.work_input_file}} {{vars.work_output_file}}"
[tasks.clean]
run = "rm -rvif *.pdf"
[tasks.update-package-rev]
run = "mise config set vars.nure_package_rev $(git ls-remote {{vars.nure_package_repo}} refs/heads/{{vars.nure_package_ref}} | cut -f1)"
update-package-rev.run = "mise config set vars.nure_package_rev $(git ls-remote {{vars.nure_package_repo}} refs/heads/{{vars.nure_package_ref}} | cut -f1)"
[tasks.fetch-nure-package]
silent = "stdout"