File tree 3 files changed +20
-32
lines changed
3 files changed +20
-32
lines changed Original file line number Diff line number Diff line change 1
- # This file is responsible for configuring your application
2
- # and its dependencies with the aid of the Mix.Config module.
3
- use Mix.Config
1
+ import Config
4
2
5
- # This configuration is loaded before any dependency and is restricted
6
- # to this project. If another project depends on this project, this
7
- # file won't be loaded nor affect the parent project. For this reason,
8
- # if you want to provide default values for your application for
9
- # 3rd-party users, it should be done in your "mix.exs" file.
10
-
11
- # You can configure your application as:
12
- #
13
- # config :mix_deploy, key: :value
14
- #
15
- # and access this configuration in your application as:
16
- #
17
- # Application.get_env(:mix_deploy, :key)
18
- #
19
- # You can also configure a 3rd-party app:
20
- #
21
- # config :logger, level: :info
22
- #
23
-
24
- # config :mix_deploy,
25
- # base_dir: "/tmp"
26
-
27
- # It is also possible to import configuration files, relative to this
28
- # directory. For example, you can emulate configuration per environment
29
- # by uncommenting the line below and defining dev.exs, test.exs and such.
30
- # Configuration from the imported file will override the ones defined
31
- # here (which is why it is important to import them last).
32
- #
33
- # import_config "#{Mix.env}.exs"
3
+ import_config "#{ config_env ( ) } .exs"
Original file line number Diff line number Diff line change
1
+ import Config
Original file line number Diff line number Diff line change
1
+ import Config
2
+
3
+ config :logger ,
4
+ level: :warning ,
5
+ always_evaluate_messages: true
6
+
7
+ config :logger , :default_formatter ,
8
+ format: "$time $metadata[$level] $message\n " ,
9
+ metadata: [ :file , :line ]
10
+
11
+ config :junit_formatter ,
12
+ report_dir: "#{ Mix.Project . build_path ( ) } /junit-reports" ,
13
+ automatic_create_dir?: true ,
14
+ print_report_file: true ,
15
+ # prepend_project_name?: true,
16
+ include_filename?: true ,
17
+ include_file_line?: true
You can’t perform that action at this time.
0 commit comments