forked from gentoo-utils/gentoo-utils
create ebuild module
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
use gentoo_utils::{
|
||||
Parseable,
|
||||
atom::Atom,
|
||||
depend::{self, Expr},
|
||||
};
|
||||
use gentoo_utils::{Parseable, atom::Atom, ebuild::Depend};
|
||||
use mon::{Parser, eof, input::InputIter, tag, whitespace1};
|
||||
use std::fs;
|
||||
|
||||
@@ -18,7 +14,7 @@ fn parse_md5_cache() {
|
||||
if line.starts_with("DEPEND=") {
|
||||
eprintln!("{line}");
|
||||
eprintln!();
|
||||
Expr::<Atom>::parser()
|
||||
Depend::<Atom>::parser()
|
||||
.separated_list(whitespace1(), 0..)
|
||||
.ignore()
|
||||
.or(eof())
|
||||
|
||||
Reference in New Issue
Block a user