Packages

Fermo project generator. Provides a `mix fermo.new` task to bootstrap a new Fermo project with the standard dependencies for use with DatoCMS.

Current section

Files

Jump to
fermo_new templates new lib helpers.ex
Raw

templates/new/lib/helpers.ex

defmodule Helpers do
defmacro __using__(_opts \\ %{}) do
quote do
import DatoCMS.GraphQLClient
import DatoCMS.GraphQLClient.MetaTagHelpers
import FermoHelpers.Links
def environment, do: System.get_env("BUILD_ENV")
end
end
end