Skip to main content

Elixir

Run elixir scripts, dependencies should be passed inline using Mix.

Type: elixir

Configuration

Examples

Install jason lib and encode a hello world message

cat - >/tmp/script.exs <<EOF
Mix.install([:jason])
IO.puts(Jason.encode!(%{hello: :world}))
EOF
runops tasks create --target elixir-type --file /tmp/script.exs