Sidekick is an Elixir application (daemon) for the Tuist server to run tasks (e.g. virtualized operation) in other environments.
The server communicates with sidekick
using the OTP protocol.
Sidekick is a combination of a daemon/agent that runs in hosts and that another Elixir application (e.g. a web server) can communicate with to run tasks in a different environment, and a library that provides the API to communicate with the agent.
Sidekick distributes the agent as a portable binary built using Burrito. Every release includes the agent binary for macOS and Linux. You can install them using Ubi:
ubi -t 0.1.9 -p tuist/sidekick
bin/sidekick
To integrate Sidekick as a library, add the dependency to your mix.exs
file:
defp deps do
[
# Other dependencies
{:sidekick, git: "https://github.com/tuist/sidekick.git", tag: "0.1", runtime: false}
]
end
- Git clone the repo:
git@github.com:tuist/sidekick.git
. - Install dependencies with
mise install
. - Run the tests with
mix test