Skip to content

Commit 5acecc5

Browse files
committed
rename 'pretty' target into 'max', a better fit for what it is
1 parent e287c08 commit 5acecc5

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

Diff for: Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ test = false
2222
doctest = false
2323

2424
[features]
25-
default = ["pretty"]
26-
pretty = ["fast", "pretty-cli"]
25+
default = ["max"]
26+
max = ["fast", "pretty-cli"]
2727
lean = ["fast", "lean-cli"]
2828
small = ["lean-cli"]
2929

Diff for: Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interactive-developer-environment-in-docker: ## Use docker for all dependencies
1313

1414
##@ Release Builds
1515

16-
release-default: always ## the default build, big bug pretty (builds in ~2min 35s)
16+
release-default: always ## the default build, big but pretty (builds in ~2min 35s)
1717
cargo build --release
1818

1919
release-lean: always ## lean and fast (builds in ~1min 10s)
@@ -45,8 +45,8 @@ check: ## Build all code in suitable configurations
4545
cargo check --all
4646
cargo check --all --all-features
4747
cargo check --no-default-features --features small
48-
cargo check --no-default-features --features pretty
4948
cargo check --no-default-features --features lean
49+
cargo check --no-default-features --features max
5050
cd gitoxide-core && cargo check --all-features
5151
cd git-object && cargo check --all-features
5252
cd git-odb && cargo check --all-features
@@ -60,9 +60,9 @@ unit-tests: ## run all unit tests
6060
continuous-unit-tests: ## run all unit tests whenever something changes
6161
watchexec -w src $(MAKE) unit-tests
6262

63-
journey-tests: always ## run stateless journey tests (pretty-cli)
63+
journey-tests: always ## run stateless journey tests (max)
6464
cargo build
65-
./tests/stateless-journey.sh target/debug/gio target/debug/giop pretty
65+
./tests/stateless-journey.sh target/debug/gio target/debug/giop max
6666

6767
journey-tests-small: always ## run stateless journey tests (lean-cli)
6868
cargo build --no-default-features --features small

Diff for: src/plumbing/pretty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ mod options {
1212
use structopt::{clap::AppSettings, StructOpt};
1313

1414
#[derive(Debug, StructOpt)]
15-
#[structopt(name = "gio-plumbing", about = "The pretty git underworld")]
15+
#[structopt(name = "gio-plumbing", about = "The git underworld")]
1616
#[structopt(settings = &[AppSettings::SubcommandRequired,
1717
AppSettings::ColoredHelp])]
1818
pub struct Args {

Diff for: src/porcelain/pretty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mod options {
66
use structopt::{clap::AppSettings, StructOpt};
77

88
#[derive(Debug, StructOpt)]
9-
#[structopt(about = "The pretty git")]
9+
#[structopt(about = "The git")]
1010
#[structopt(settings = &[AppSettings::SubcommandRequired,
1111
AppSettings::ColoredHelp])]
1212
pub struct Args {

Diff for: tests/stateless-journey.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ title "CLI ${kind}"
6969
expect_run $SUCCESSFULLY "$exe_plumbing" verify-pack --statistics "$PACK_INDEX_FILE"
7070
}
7171
)
72-
if test "$kind" = pretty; then
72+
if test "$kind" = "max"; then
7373
(with "statistics (JSON)"
7474
it "verifies the pack index successfully and with desired output" && {
7575
WITH_SNAPSHOT="$snapshot/plumbing-verify-pack-index-with-statistics-json-success" \

0 commit comments

Comments
 (0)