mirror of
https://github.com/uutils/coreutils
synced 2024-07-21 09:54:42 +00:00
Add dircolors
This commit is contained in:
parent
1fafde8c27
commit
c9f363d09c
|
@ -37,6 +37,7 @@ generic = [
|
|||
"comm",
|
||||
"cp",
|
||||
"cut",
|
||||
"dircolors",
|
||||
"dirname",
|
||||
"echo",
|
||||
"env",
|
||||
|
@ -101,6 +102,7 @@ cksum = { optional=true, path="src/cksum" }
|
|||
comm = { optional=true, path="src/comm" }
|
||||
cp = { optional=true, path="src/cp" }
|
||||
cut = { optional=true, path="src/cut" }
|
||||
dircolors= { optional=true, path="src/dircolors" }
|
||||
dirname = { optional=true, path="src/dirname" }
|
||||
du = { optional=true, path="src/du" }
|
||||
echo = { optional=true, path="src/echo" }
|
||||
|
|
2
Makefile
2
Makefile
|
@ -45,6 +45,7 @@ PROGS := \
|
|||
comm \
|
||||
cp \
|
||||
cut \
|
||||
dircolors \
|
||||
dirname \
|
||||
echo \
|
||||
env \
|
||||
|
@ -135,6 +136,7 @@ TEST_PROGS := \
|
|||
comm \
|
||||
cp \
|
||||
cut \
|
||||
dircolors \
|
||||
dirname \
|
||||
echo \
|
||||
env \
|
||||
|
|
|
@ -156,7 +156,6 @@ To do
|
|||
- date
|
||||
- dd
|
||||
- df
|
||||
- dircolors
|
||||
- expr (almost done, no regular expressions)
|
||||
- getlimits
|
||||
- install
|
||||
|
|
18
src/dircolors/Cargo.toml
Normal file
18
src/dircolors/Cargo.toml
Normal file
|
@ -0,0 +1,18 @@
|
|||
[package]
|
||||
name = "dircolors"
|
||||
version = "0.0.1"
|
||||
authors = []
|
||||
|
||||
[lib]
|
||||
name = "uu_dircolors"
|
||||
path = "dircolors.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
glob = "*"
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
[[bin]]
|
||||
name = "dircolors"
|
||||
path = "main.rs"
|
5
src/dircolors/main.rs
Normal file
5
src/dircolors/main.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
extern crate uu_dircolors;
|
||||
|
||||
fn main() {
|
||||
std::process::exit(uu_dircolors::uumain(std::env::args().collect()));
|
||||
}
|
Loading…
Reference in a new issue