Software /
code /
prosody
File
tools/build-env/here.sh @ 13361:e20949a10118
modulemanager: Allow modules to expose module.ready - to be called after init
This is a shortcut for module:on_ready() which exposes the functionality in an
idiomatic way consistent with module.load, module.unload, etc.
module.ready runs when the module is loaded and the server has finished
starting up.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 30 Nov 2023 10:09:47 +0000 |
parent | 13323:7bfd6db52528 |
line wrap: on
line source
#!/bin/sh -eux tag="testing" if [ "$#" -gt 0 ]; then tag="$1" shift fi containerify="$(command -v podman docker)" $containerify run -it --rm \ -v "$PWD:$PWD" \ -w "$PWD" \ -v "$HOME/.cache:$PWD/.cache" \ --entrypoint /bin/bash \ --userns=keep-id \ --network \ host "prosody.im/build-env:$tag" "$@"