Added an warning that rslib/build.rs is automatically generated file

This commit is contained in:
evandrocoan 2020-04-29 01:21:49 -03:00
parent 00cf4fc585
commit f6f1e3cbb3

View file

@ -23,7 +23,8 @@ fn get_identifiers(ftl_text: &str) -> Vec<String> {
fn proto_enum(idents: &[String]) -> String { fn proto_enum(idents: &[String]) -> String {
let mut buf = String::from( let mut buf = String::from(
r#" r#"// This file is automatically generated as part of the build process.
syntax = "proto3"; syntax = "proto3";
package backend_proto; package backend_proto;
enum FluentString { enum FluentString {
@ -67,7 +68,8 @@ mod test {
assert_eq!( assert_eq!(
proto_enum(&idents), proto_enum(&idents),
r#" r#"// This file is automatically generated as part of the build process.
syntax = "proto3"; syntax = "proto3";
package backend_strings; package backend_strings;
enum FluentString { enum FluentString {