Expublish.Project (expublish v2.7.1) View Source

Functions for reading and writing project mix.exs.

Link to this section Summary

Functions

Return parsed %Version{} from current mix project.

Writes version to project mix.exs or given --version-file.

Link to this section Functions

Link to this function

get_version!(options \\ %Options{})

View Source

Specs

get_version!(Expublish.Options.t()) :: Version.t()

Return parsed %Version{} from current mix project.

Reads from Mix.Project.config/0

Link to this function

update_version!(new_version, options \\ %Options{}, version \\ nil)

View Source

Specs

update_version!(Version.t(), Expublish.Options.t(), nil | Version.t()) ::
  Version.t()

Writes version to project mix.exs or given --version-file.