module Versionator

Overview

Versionator is a utility module for embeding versions into an application at compile time.

It leverages smart defaults (convention over configuration) at compile time by providing the version pulled from git tag when available.

Defined in:

versionator.cr

Class Method Summary

Class Method Detail

def self.version #

returns either the version set with ENV[VERSIONATOR] or the most recent tag via git describe --tags --dirty


[View source]