update .mise/config.toml in unexplrd-mise
This commit is contained in:
@@ -30,19 +30,15 @@ nure_package_path = "{{vars.package_dir}}/{{vars.nure_package_name}}/{{vars.nure
|
|||||||
TYPST_PACKAGE_DIR = "{{vars.package_dir}}"
|
TYPST_PACKAGE_DIR = "{{vars.package_dir}}"
|
||||||
TYPST_PACKAGE_PATH = "$TYPST_PACKAGE_DIR"
|
TYPST_PACKAGE_PATH = "$TYPST_PACKAGE_DIR"
|
||||||
|
|
||||||
[tasks.watch]
|
[tasks]
|
||||||
depends = ["fetch-nure-package"]
|
compile.depends = ["fetch-nure-package"]
|
||||||
run = "mise exec -- typst watch {{vars.work_input_file}} {{vars.work_output_file}}"
|
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]
|
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)"
|
||||||
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)"
|
|
||||||
|
|
||||||
[tasks.fetch-nure-package]
|
[tasks.fetch-nure-package]
|
||||||
silent = "stdout"
|
silent = "stdout"
|
||||||
|
|||||||
Reference in New Issue
Block a user