Skip to content

Commit cd471ac

Browse files
author
Andrew Pennebaker
committed
rename
1 parent 428c0d3 commit cd471ac

File tree

8 files changed

+31
-30
lines changed

8 files changed

+31
-30
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.rocky
1+
.crit
22
*.zip
33
# Created by https://www.toptal.com/developers/gitignore/api/rust
44
# Edit at https://www.toptal.com/developers/gitignore?templates=rust

Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
2-
name = "rocky"
2+
name = "crit"
33
description = "Rust cross-compiler"
44
version = "0.0.1"
55
authors = ["Andrew Pennebaker <[email protected]>"]
66
license = "BSD-2-Clause"
7-
homepage = "https://github.com/mcandre/rocky"
7+
homepage = "https://github.com/mcandre/crit"
88

99
[dependencies]
1010
atomic-option = "0.1.2"
@@ -14,13 +14,13 @@ lazy_static = "1.4.0"
1414
regex = "1.7.3"
1515

1616
# [lib]
17-
# name = "rocky"
17+
# name = "crit"
1818

1919
[profile.release]
2020
codegen-units = 1
2121
lto = true
2222
strip = true
2323

2424
[[bin]]
25-
name = "rocky"
26-
path = "src/rocky.rs"
25+
name = "crit"
26+
path = "src/crit.rs"

DEVELOPMENT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $ cargo install
2020
# UNINSTALL BINARIES
2121

2222
```console
23-
$ cargo uninstall rocky
23+
$ cargo uninstall crit
2424
```
2525

2626
# SECURITY AUDIT
@@ -32,6 +32,6 @@ $ cargo audit
3232
# PORT
3333

3434
```console
35-
$ rocky
35+
$ crit
3636
...
3737
```

README.md

+15-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
# rocky: Rust cross-compiler
2-
3-
![red rock crab](rocky.png)
1+
# crit: Rust cross-compiler
2+
3+
```text
4+
.__ __
5+
___________|__|/ |_
6+
_/ ___\_ __ \ \ __\
7+
\ \___| | \/ || |
8+
\___ >__| |__||__|
9+
\/
10+
```
411

512
# CAUTION
613

@@ -11,18 +18,18 @@ Work in progress.
1118
```console
1219
$ cd example
1320

14-
$ rocky
21+
$ crit
1522

16-
$ ls .rocky
23+
$ ls .crit
1724
aarch64-apple-darwin
1825
aarch64-linux-android
1926
aarch64-unknown-linux-gnu
2027
...
2128
```
2229

23-
By default, rocky builds in release mode (`-- -r`).
30+
By default, crit builds in release mode (`-- -r`).
2431

25-
See `rocky -h` for more options.
32+
See `crit -h` for more options.
2633

2734
# LICENSE
2835

@@ -47,7 +54,7 @@ FreeBSD
4754

4855
# CONTRIBUTING
4956

50-
For more details on developing tinyrick itself, see [DEVELOPMENT.md](DEVELOPMENT.md).
57+
For more details on developing crit itself, see [DEVELOPMENT.md](DEVELOPMENT.md).
5158

5259
# CREDITS
5360

example/README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@ $ hello
1414
* [Rust](https://www.rust-lang.org/en-US/) 1.64+
1515
* [cross](https://crates.io/crates/cross) 0.2.5+
1616
* [Docker](https://www.docker.com/) 20.10.23+
17-
* [rocky](https://github.com/mcandre/rocky)
17+
* [crit](https://github.com/mcandre/crit)
1818

1919
# PORT
2020

2121
```console
22-
$ rocky
23-
```
24-
25-
# CLEAN
26-
27-
```console
28-
$ rocky -c
22+
$ crit
2923
```

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/mcandre/rocky
1+
module github.com/mcandre/crit
22

33
go 1.20

rocky.png

-23.4 KB
Binary file not shown.

src/rocky.rs src/crit.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! CLI rocky tool
1+
//! CLI crit tool
22
33
extern crate atomic_option;
44
extern crate ctrlc;
@@ -12,7 +12,7 @@ use std::path;
1212
use std::process;
1313
use std::sync;
1414

15-
pub static ROCKY_ARTIFACT_ROOT : &str = ".rocky";
15+
pub static CRIT_ARTIFACT_ROOT : &str = ".crit";
1616

1717
lazy_static::lazy_static! {
1818
static ref RUSTUP_TARGET_PATTERN : regex::Regex = regex::Regex::new(r"(\S+)").unwrap();
@@ -73,7 +73,7 @@ fn main() {
7373
process::exit(1);
7474
}).expect("error registering signal handler");
7575

76-
let artifact_root : &path::Path = path::Path::new(ROCKY_ARTIFACT_ROOT);
76+
let artifact_root : &path::Path = path::Path::new(CRIT_ARTIFACT_ROOT);
7777
let mut target_exclusion_pattern : regex::Regex = DEFAULT_TARGET_EXCLUSION_PATTERNS.clone();
7878
let list_targets : bool;
7979

@@ -84,7 +84,7 @@ fn main() {
8484

8585

8686
let mut opts : getopts::Options = getopts::Options::new();
87-
opts.optflag("c", "clean", "delete .rocky artifacts directory");
87+
opts.optflag("c", "clean", "delete crit artifacts directory tree");
8888
opts.optopt("e", "exclude-targets", "exclude targets", "<rust regex>");
8989
opts.optflag("l", "list-targets", "list enabled targets");
9090
opts.optflag("h", "help", "print usage info");
@@ -107,7 +107,7 @@ fn main() {
107107
process::exit(0);
108108
} else if optmatches.opt_present("c") {
109109
if artifact_root.exists() {
110-
_ = fs::remove_dir_all(ROCKY_ARTIFACT_ROOT).unwrap();
110+
_ = fs::remove_dir_all(CRIT_ARTIFACT_ROOT).unwrap();
111111
}
112112

113113
process::exit(0);

0 commit comments

Comments
 (0)