bonfire-app/.iex.exs

41 lines
1.1 KiB
Elixir
Raw Permalink Normal View History

2020-11-10 14:45:38 +00:00
# if Code.ensure_loaded?(ExSync) && function_exported?(ExSync, :register_group_leader, 0) do
# ExSync.register_group_leader()
# end
2021-05-18 11:25:48 +00:00
2023-06-26 15:41:04 +00:00
use ConsoleHelpers
2022-03-16 04:30:58 +00:00
2024-02-13 17:07:18 +00:00
# if module_enabled?(Bonfire.Common.Test.Interactive) and Mix.env() == :test do
# # to run tests from iex
2022-03-16 04:30:58 +00:00
2024-02-13 17:07:18 +00:00
# # Code.compiler_options(ignore_module_conflict: true)
# # Code.compile_file("~/.iex/iex_watch_tests.exs", File.cwd!())
2022-03-16 04:30:58 +00:00
2024-02-13 17:07:18 +00:00
# unless GenServer.whereis(Bonfire.Common.Test.Interactive) do
# {:ok, pid} = Bonfire.Common.Test.Interactive.start_link()
2022-03-16 04:30:58 +00:00
2024-02-13 17:07:18 +00:00
# # Process will not exit when the iex goes out
# Process.unlink(pid)
# end
# Bonfire.Common.Test.Interactive.Helpers.ready()
# else
# if Mix.env() == :test, do: info("IExWatchTests is not running")
# end
# import_if_enabled(Bonfire.Common.Test.Interactive.Helpers)
2022-03-16 04:30:58 +00:00
2022-09-12 04:34:14 +00:00
2022-10-24 19:37:30 +00:00
# if Code.ensure_loaded?(ExSync) and function_exported?(ExSync, :register_group_leader, 0) do
# ExSync.register_group_leader()
# end
2022-09-14 07:35:42 +00:00
2023-01-17 03:59:38 +00:00
defmodule ObserverCLI do
def observer_cli_start, do: start()
defp start do
Logger.configure(level: :error)
:observer_cli.start
end
end
2023-06-26 15:41:04 +00:00
import ObserverCLI