diff options
| author | Melonai <einebeere@gmail.com> | 2021-08-16 19:16:00 +0200 |
|---|---|---|
| committer | Melonai <einebeere@gmail.com> | 2021-08-16 19:16:00 +0200 |
| commit | e81c9eb128001bfa9512a29e41a61d77a20e1050 (patch) | |
| tree | 8ce0f484b9a370174fec5f7795b0cf0090d412f6 /mix.exs | |
| parent | a7af012b92f0dfd90cc3eb570e03144016646180 (diff) | |
| download | rook-e81c9eb128001bfa9512a29e41a61d77a20e1050.tar.zst rook-e81c9eb128001bfa9512a29e41a61d77a20e1050.zip | |
Parse user agent
Diffstat (limited to 'mix.exs')
| -rw-r--r-- | mix.exs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mix.exs b/mix.exs index 19aa3de..f09a0b5 100644 --- a/mix.exs +++ b/mix.exs @@ -20,6 +20,9 @@ defmodule Rook.MixProject do def application do [ mod: {Rook.Application, []}, + included_applications: [ + :ua_inspector + ], extra_applications: [:logger, :runtime_tools] ] end @@ -41,7 +44,8 @@ defmodule Rook.MixProject do {:telemetry_poller, "~> 0.4"}, {:jason, "~> 1.0"}, {:plug_cowboy, "~> 2.0"}, - {:nanoid, "~> 2.0"} + {:nanoid, "~> 2.0"}, + {:ua_inspector, "~> 2.0"} ] end @@ -53,7 +57,7 @@ defmodule Rook.MixProject do # See the documentation for `Mix` for more info on aliases. defp aliases do [ - setup: ["deps.get", "cmd cd assets; yarn"] + setup: ["deps.get", "ua_inspector.download", "cmd cd assets; yarn"] ] end end |
