feat: show message for unsupported Crystal versions at compile time (#5909)

Show a nice message for unsupported versions of the Crystal compiler, encouraging the user compiling Invidious, to update it's Crystal compiler version.
This commit is contained in:
Fijxu
2026-09-14 23:07:10 -03:00
committed by GitHub
parent 47756e0d1e
commit b052ced0b4
3 changed files with 32 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ targets:
main: src/invidious.cr
description: |
Invidious is an alternative front-end to YouTube
Invidious is an alternative front-end to YouTube
dependencies:
pg:
@@ -40,7 +40,7 @@ development_dependencies:
github: crystal-ameba/ameba
version: ~> 1.6.1
crystal: ">= 1.10.0, < 2.0.0"
crystal: ">= 1.14.1, < 2.0.0"
license: AGPL-3.0-only