module Test
class FileStorage
extend BakedFileSystem
bake_folder "./html"
end
end
3. Directory `html` on the same level like `test.cr` with `test.html`
4. And `crystal -v`
```bash
Crystal 0.25.1 (2018-06-30)
LLVM: 5.0.2
Default target: x86_64-apple-macosx
When i run crystal test.cr i got the error:
in lib/baked_file_system/src/loader/loader.cr:31: undefined method 'stat' for File:Class
io << " size: " << File.stat(path).size << ",\n"
^~~~
In the code i see old version:
Could you say me how i can update shard for version in master?
Hi!
module Test class FileStorage extend BakedFileSystem bake_folder "./html" end end
When i run
crystal test.cr
i got the error:In the code i see old version:
Could you say me how i can update shard for version in master?