Hacker News new | ask | show | jobs
by blackhaj7 261 days ago
A mise postinstall hook?

What do you put in it?

2 comments

An example from one of our monorepo's ansible directories:

    [hooks]
    postinstall = [
        "uv sync",
        "ansible-galaxy role install -r ansible/requirements.yml",
        "ansible-galaxy collection install -r ansible/requirements.yml",
    ]
So following a `mise install`, the user also gets all the needed python packages installed via uv, and also all the galaxy roles/collections installed
Love it - great idea