on master help sign in
Improve build error when a new grammar was added
commit905efe3a48e5ac08a619da95b3d5f845e7e20160 authorBlaž Hrastnik <blaz@mxxn.io> dateTue 31 Aug 2021, 16:52 (5 years ago) parent5a558e0
1 file changed+1−2
helix-syntax/build.rs+1−2
helix-syntax/build.rs+1−2
@@ -158,10 +158,9 @@ fn build_dir(dir: &str, language: &str) {
158158 .is_none()
159159 {
160160 eprintln!(
161− "The directory {} is empty, did you use 'git clone --recursive'?",
161+ "The directory {} is empty, you probably need to use 'git submodule update --init --recursive'?",
162162 dir
163163 );
164− eprintln!("You can fix in using 'git submodule init && git submodule update --recursive'.");
165164 std::process::exit(1);
166165 }
167166