Commit Graph

28 Commits

Author SHA1 Message Date
Aleksey Kladov fabb804f30 Speedup fmt 2018-10-31 23:58:03 +03:00
Aleksey Kladov 6be50f7d5d Reformat all 2018-10-31 23:41:43 +03:00
Muhammad Mominul Huque 857c1650ef Various changes
Pin to a specific toolchain version
Format checking functionality
Add a test to check the code formatting.
Remove macro_use attribute
2018-10-31 23:39:21 +03:00
Muhammad Mominul Huque d14610dab4 initial implementation 2018-10-31 23:39:21 +03:00
Alan Du d493a4476c clippy: Use if lets and remove redundant returns 2018-10-17 19:42:23 -04:00
Alan Du 5db663d61f Clippy lint: single-character string constant 2018-10-17 19:42:23 -04:00
Aleksey Kladov 2f4a248f80 rename gen-kinds to gen-syntax 2018-10-16 21:17:19 +03:00
Aleksey Kladov b43bcd43c6 fix tests 2018-10-16 20:53:19 +03:00
Aleksey Kladov 0b6d4983de Switch to published teraron 2018-10-16 20:36:45 +03:00
Aleksey Kladov 514aa3cf85 extract teraron 2018-10-16 20:31:30 +03:00
Jeremy A. Kolb 61f3a438d3 Cargo Format
Run `cargo fmt` and ignore generated files
2018-10-16 09:41:10 -04:00
bors[bot] 39cb6c6d3f Merge #128
128: Add a test to verify if the generated codes are up-to-date. r=matklad a=mominul

This test checks if the generated codes are up-to-date every time during `cargo test`.

I have confirmed that the test works by manually editing the `grammar.ron` file.

Closes #126 

Thanks!

Co-authored-by: Muhammad Mominul Huque <mominul2082@gmail.com>
2018-10-16 12:24:26 +00:00
Muhammad Mominul Huque 2c4cfb297e
take `&Path` instead of `PathBuf` 2018-10-16 15:36:53 +06:00
Muhammad Mominul Huque 9d9e637ef3
Refactor the constants 2018-10-16 00:54:27 +06:00
Muhammad Mominul Huque ce73df065f
Use CARGO_MANIFEST_DIR for locating the grammar.ron file 2018-10-15 23:52:11 +06:00
Aleksey Kladov 9434920648 switch base crates to 2018 2018-10-15 20:00:54 +03:00
Muhammad Mominul Huque 33b378797c
Show how to generate code with error message 2018-10-14 20:58:53 +06:00
Muhammad Mominul Huque 114e9a2d74
create cli.rs and make the tests passing 2018-10-14 20:32:57 +06:00
Aleksey Kladov b5021411a8 rename all things 2018-09-16 13:07:39 +03:00
Aleksey Kladov ba0bfeee12 fix derecated call 2018-09-16 03:06:56 +03:00
Aleksey Kladov 5b70e5cf0c fix installation for windows 2018-09-16 00:02:25 +01:00
Aleksey Kladov 722706fe41 get rid of commandspeck 2018-09-16 02:12:53 +03:00
Aleksey Kladov 78d60a549d default method name to type name 2018-08-31 15:10:37 +03:00
Aleksey Kladov 422efe59af you better run 2018-08-27 22:52:43 +03:00
Aleksey Kladov 56aa6e20e0 More symbols 2018-08-11 16:20:37 +03:00
Aleksey Kladov d5119133fc heck 2018-08-11 11:03:22 +03:00
Aleksey Kladov 7581984601 bump ron 2018-08-11 09:38:27 +03:00
Aleksey Kladov 7c67612b8a organizize 2018-08-10 22:33:29 +03:00