summaryrefslogtreecommitdiffstats
path: root/mise.toml
blob: a6eaf5ac7360c19a29ca89cc1c7a1441adea9250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[env]
_.python.venv = { path = ".venv", create = true, python = "3.13.5" }

[tasks.install]
description = "Install dependencies"
alias = "i"
run = "pip install -r requirements.txt"

[tasks.run]
description = "Run g2h with the test repo"
alias = "r"
run = "rm -rf ./test_out && python3 -m g2h.cli test_repo test_out --name 'Test repo'"

[tasks.commit]
run = [
  'tar czf test_repo/git.tgz -C test_repo .git',
  'rm -rf test_repo/.git',
  './.mise-tasks/co.sh {{arg(name="commit args", var=true)}}',
  'tar xzf test_repo/git.tgz -C test_repo'
]