mix horizon.git.gen.git_ref (horizon v0.3.3)

View Source

Generates the current git ref hash and writes it to a file.

This task creates a .horizon/git_ref file containing the current git ref hash.

Options

  • -h, --help - Displays usage information
  • -f, --file-path - Override the default file path (.horizon/git_ref)

Examples

$ mix horizon.git.gen.git_ref
$ mix horizon.git.gen.git_ref --help
$ mix horizon.git.gen.git_ref --file-path=custom/path/git_ref

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.