Filesystems in Elixir Environments?

In a typical mix.exs file there is a project function which returns a keyword list with :build_embedded in it

def project do
  [app: :pusher,
   version: "0.1.0",
   elixir: "~> 1.4",
   build_embedded: Mix.env == :prod, # <-- here
   start_permanent: Mix.env == :prod,
   deps: deps()]
end

Mix.env returns the current environment, it can be :dev, :test, :prod, or whatever else. Mix.env == :prod evaluates to true if the current environment is :prod.