defmodule IEx.Mixfile do use Mix.Project def project do [app: :iex, version: System.version, build_per_environment: false] end def application do [ env: [ after_spawn: [], colors: colors, inspect: [records: true, structs: true, binaries: :infer, char_lists: :infer, limit: 50, pretty: true], history_size: 20, prompt: [default: "%prefix(%counter)>", alive: "%prefix(%node)%counter>" ] ] ] end defp colors do [ enabled: true, # Used by default on evaluation cycle eval_interrupt: "yellow", eval_result: "yellow", eval_error: "red", eval_info: "normal", stack_app: "red,bright", stack_info: "red", # Used by ls ls_directory: "blue", ls_device: "green", # Used by ansi docs doc_bold: "bright", doc_code: "cyan,bright", doc_headings: "yellow,bright", doc_inline_code: "cyan", doc_underline: "underline", doc_title: "reverse,yellow,bright" ] end end