Commit Graph

126 Commits

Author SHA1 Message Date
Kogia-sima d7a2ff8008 Fix include! implementation for Rust file
Also add tests for including Rust file
2020-06-11 19:43:01 +09:00
Kogia-sima d302f30144 Format code 2020-06-11 19:42:22 +09:00
Kogia-sima dc4d062b8d Test for Error::kind() 2020-06-11 19:22:19 +09:00
Kogia-sima 7665690982 Change input/output directory for integration-tests 2020-06-11 15:31:55 +09:00
Kogia-sima 7cc4692951 Bump version (0.0.3 => 0.0.4) 2020-06-11 11:55:51 +09:00
Kogia-sima c86effe90f Remove unused function 2020-06-08 22:34:59 +09:00
Kogia-sima 0162e44ff8 Remove unused code 2020-06-07 23:23:45 +09:00
Kogia-sima eeeb47ed84 Remove #[allow(dead_code)] for function 2020-06-07 23:20:36 +09:00
Kogia-sima 5c7065a411 Use proc_macro2::fallback::force() API
This api forces the use of proc-macro2's fallback implementation. This
allows to keep span information during parsing.
2020-06-07 20:52:38 +09:00
Kogia-sima 2e1b9b2c87 Specify proc-macro2 version
This specification is required to use `fallback::force()` API.
2020-06-07 20:42:55 +09:00
Kogia-sima 69d7d6c39c Bump version (0.0.2 => 0.0.3) 2020-06-07 19:14:23 +09:00
Kogia-sima fd3d224067 Refactor source code with rustfmt and clippy
[skip ci]
2020-06-07 17:58:52 +09:00
Kogia-sima 61ff466976 Add `rm_whitespace` option 2020-06-07 13:00:28 +09:00
Kogia-sima 9c4b6352d5 Add rm_whitespace option 2020-06-07 13:00:28 +09:00
Kogia-sima 94e7ce2e8a TODO comments
[skip ci]
2020-06-07 11:49:15 +09:00
Kogia-sima f3c9a21140 Resolve include! for Rust file correctly 2020-06-07 04:53:49 +09:00
Kogia-sima b24861e158 Skip attribute if it is not wrapped with `template` 2020-06-07 03:44:30 +09:00
Kogia-sima 76abe1c0ac Pop include path stack 2020-06-07 03:21:17 +09:00
Kogia-sima e7c0992568 Export compiler config struct 2020-06-07 03:20:01 +09:00
Kogia-sima 6d07c43876 Strip the brake line at end of file 2020-06-07 01:25:52 +09:00
Kogia-sima 8e5b76f2ab Ignore include! for rust file 2020-06-07 00:52:53 +09:00
Kogia-sima 7d77b755c6 Resolve child template path inside resolver 2020-06-07 00:43:10 +09:00
Kogia-sima 64ded9616a resolve to relative path in include! by default 2020-06-06 23:43:41 +09:00
Kogia-sima 12174ff5c5 Implement include! macro 2020-06-06 22:49:01 +09:00
Kogia-sima 420d83521c Add Config struct 2020-06-06 11:58:14 +09:00
Kogia-sima 08dacdd263 Add source code 2020-06-05 22:31:38 +09:00