Browse Source

fix compiler trying to read .drone.yml.

main
Gisle Aune 4 years ago
parent
commit
e4a46c161c
  1. 5
      compiler/src/main.rs

5
compiler/src/main.rs

@ -42,7 +42,12 @@ fn main() {
} }
let path = Path::new(&source_dir).join(entry.file_name()); let path = Path::new(&source_dir).join(entry.file_name());
if path.to_str().unwrap().contains(".drone.yml") {
continue;
}
eprintln!("Loading manifest {}", path.to_str().unwrap()); eprintln!("Loading manifest {}", path.to_str().unwrap());
let manifest: Manifest = serde_yaml::from_reader(File::open(path.clone()).unwrap()).unwrap(); let manifest: Manifest = serde_yaml::from_reader(File::open(path.clone()).unwrap()).unwrap();
let mut coll = SourceCollection::default(); let mut coll = SourceCollection::default();

Loading…
Cancel
Save