Version
Constants
AHEAD = "0"
CRYSTAL = Crystal::VERSION
DATE = {{ (`date \"+%Y-%m-%d\"`).stringify.chomp }}
GIT_DESCRIBE = {{ (`(git describe --tags --long --always 2>/dev/null || echo \"unknown\")`).stringify.chomp }}
git describe --tags --long --always → "v1.0.0-3-gabcdef0" or "abcdef0"
NAME = "curl-paging"
SHA = "cc7cb03"
TAG = "1.0.1"
TARGET_TRIPLE = {{ (`crystal -v 2>/dev/null | grep -oE '[a-z0-9_]+-[a-z]+-[a-z]+-[a-z]+' || echo \"unknown\"`).stringify.chomp }}
Class methods
to_s
Source