athena-framework / athena

An ecosystem of reusable, independent components
https://athenaframework.org
MIT License
211 stars 17 forks source link

Support Windows in Athena Console #386

Closed dsisnero closed 5 months ago

dsisnero commented 5 months ago

Trying to run the simplest athena-console app

Error: Athena::Console component does not support Windows yet.

Blacksmoke16 commented 5 months ago

This was resolved via #270, and will be available in next release. Until then, you can pin the console component to commit c12f07b5a11c0d116acfa06d85d2062d9e9d211d, but will require a minimum of Crystal 1.11.

If you're getting this error when using the entire framework, you can do like:

# shard.yml
dependencies:
  athena:
    github: athena-framework/framework
    commit: 8f0157e1cbbd4c5da2087b5a05bb1ff1182619ff
# shard.override.yml
dependencies:
  athena-console:
    github: athena-framework/console
    commit: c12f07b5a11c0d116acfa06d85d2062d9e9d211d

Then run shards update and should be good to go, at least until the next release makes all this unneeded.