added automatic version fetching

This commit is contained in:
Dominic Grimm 2021-10-23 13:42:39 +02:00
parent 59f49d2f92
commit d1d8104ab4
2 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,7 @@
require "version"
module CompiledLicense
VERSION = {{ `shards version`.stringify.chomp }}
VERSION = Version.fetch
LICENSES = {{ run("./compiled_license/licenses.cr").stringify }}
end