-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Future] Broken build from sources with the newest Crystal version #203
Comments
Yes, that is the correct fix. Not sure when we'll be releasing the next version of crystal and so when to merge that change. |
Shards 0.7.2 can be built with either 0.24.2 or crystal head. @ysbaddaden I see some nice features in shards not released yet. Is there any preference to release a shards 0.8 with crystal 0.25 or to stick with 0.7.2? Note: I left a branch with the proposed changes since I needed them to check |
There is mostly a breaking change (global cache) which I haven't tested much, but we can release a 0.8 yes. |
Let's release 0.25.0 with 0.7.2 and avoid having a hiccup in the ci of shards since it requires 0.25.0 to be built. But schedule 0.8.0 for the next one. |
Since you pushed a PR with |
That's true, it's needs a fix either way. Let's make sure shards 0.8.0 can compile with 0.24.2 and 0.25.0 then and release 0.8.0. |
Crystal version:
Crystal 0.24.2+336 [6c3fc2b93] (2018-05-05)
make
command provides:in src/package.cr:86: undefined method 'stat' for File:Class
in src/package.cr:86: undefined method 'ino' for Crystal::System::FileInfo
Depending on this commit in Crystal, there are no more
stat
andino
methods.For me it fixes situation (in
src/package.cr:86
):next if File.stat(destination).ino == File.stat(source).ino
changed tonext if File.info(destination) == File.info(source)
After that it compiled and launched successfully, but i'm not sure it's completely correct thing.
Compiled version:
Shards 0.7.2 [df9face] (2018-05-05)
The text was updated successfully, but these errors were encountered: