zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

application.ex (676B)


      1 defmodule ExDoc.Application do
      2   @moduledoc false
      3   use Application
      4 
      5   def start(_type, _args) do
      6     Makeup.Registry.register_lexer(ExDoc.ShellLexer,
      7       options: [],
      8       names: ["shell", "console", "sh", "bash", "zsh"],
      9       extensions: []
     10     )
     11 
     12     # Load applications so we can find their modules in docs
     13     Enum.each([:eex, :ex_unit, :iex, :logger, :mix], &Application.load/1)
     14 
     15     # Start all applications with the makeup prefix
     16     for {app, _, _} <- Application.loaded_applications(),
     17         match?("makeup_" <> _, Atom.to_string(app)),
     18         do: Application.ensure_all_started(app)
     19 
     20     Supervisor.start_link([ExDoc.Refs], strategy: :one_for_one)
     21   end
     22 end