straight-shoota / criss

Instantaneous static site site generator and server in Crystal
MIT License
21 stars 4 forks source link

Error target criss failed to compile #4

Closed overtube closed 1 year ago

overtube commented 1 year ago
shards install --error-trace && shards build --error-trace
Fetching https://github.com/straight-shoota/crinja.git
Fetching https://github.com/icyleaf/markd.git
Fetching https://github.com/superpaintman/serve.git
Fetching https://github.com/straight-shoota/sass.cr.git
Using sass (0.6.0)
Using crinja (0.8.1 at 15a4a13)
Using markd (0.5.0)
Using serve (0.1.1)
Dependencies are satisfied
Building: criss
Error target criss failed to compile:
In src/cli.cr:7:3

 7 | getter logger : Logger
     ^-----
Error: expanding macro

In src/cli.cr:7:19

 7 | getter logger : Logger
                     ^-----
Error: undefined constant Logger
straight-shoota commented 1 year ago

This project is an experiment and hasn't been updated for a long time. It's incompatible with Crystal 1.0 or higher. I suppose it should be quite easy to update Logger to modern Log class. But that might not be the only necessary change.