rustle
rustle copied to clipboard
Feat: Implemented CLI
Implemented a basic CLI, for now, that can compile any file with svelte syntax and a directory of files(has to end with either .svelte or .rustle).
I also need suggestions on how to improve the CLI, especially when compiling a whole directory feel free to make changes as needed.
@pintariching I think cargo.lock should be added to .gitignore
I've read that cargo.lock
should be ignored for libraries but used for binaries, so that when you build it, it uses the same version libraries as it did on your computer.
Maybe I am doing something wrong but it causes some problems when building for me
It could be that some library version mismatch, maybe serde_json
that is used in both projects?
Could be anyway gonna push a new commit that hopefully fixes it
@pintariching Aight changed the .gitignore file
Ok this seems great! I'll merge it.