Skip to content

Commit 5ea5e84

Browse files
committed
refactor: Move trycmd into a folder
1 parent 191a360 commit 5ea5e84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+122
-120
lines changed

Cargo.toml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -15,68 +15,3 @@ include = [
1515
"benches/**/*",
1616
"examples/**/*"
1717
]
18-
19-
[package]
20-
name = "trycmd"
21-
version = "0.15.1"
22-
description = "Snapshot testing for a herd of CLI tests"
23-
authors = ["Ed Page <[email protected]>"]
24-
repository = "https://github.com/assert-rs/trycmd.git"
25-
homepage = "https://github.com/assert-rs/trycmd"
26-
documentation = "http://docs.rs/trycmd/"
27-
readme = "README.md"
28-
categories = ["development-tools::testing"]
29-
keywords = ["cli", "test", "assert", "command", "duct"]
30-
license.workspace = true
31-
edition.workspace = true
32-
rust-version.workspace = true
33-
include.workspace = true
34-
35-
[package.metadata.docs.rs]
36-
all-features = true
37-
rustdoc-args = ["--cfg", "docsrs"]
38-
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
39-
40-
[package.metadata.release]
41-
pre-release-replacements = [
42-
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
43-
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
44-
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
45-
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
46-
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/trycmd/compare/{{tag_name}}...HEAD", exactly=1},
47-
]
48-
49-
[features]
50-
default = ["color-auto", "filesystem", "diff"]
51-
color = ["snapbox/color", "dep:anstream"]
52-
color-auto = ["snapbox/color-auto"]
53-
diff = ["snapbox/diff"]
54-
filesystem = ["snapbox/path"]
55-
56-
schema = ["dep:schemars", "dep:serde_json"]
57-
examples = ["snapbox/examples"]
58-
debug = ["snapbox/debug"]
59-
60-
[[bin]]
61-
name = "bin-fixture"
62-
63-
[[bin]]
64-
name = "trycmd-schema"
65-
required-features = ["schema"]
66-
67-
[dependencies]
68-
snapbox = { path = "crates/snapbox", version = "0.5.9", default-features = false, features = ["cmd"] }
69-
anstream = { version = "0.6.7", optional = true }
70-
71-
glob = "0.3.0"
72-
rayon = "1.5.1"
73-
74-
serde = { version = "1.0", features = ["derive"] }
75-
shlex = "1.1.0"
76-
humantime = "2"
77-
humantime-serde = "1"
78-
toml_edit = { version = "0.22", features = ["serde"] }
79-
escargot = { version = "0.5.7", optional = true }
80-
81-
schemars = { version = "0.8.3", features = ["preserve_order"], optional = true }
82-
serde_json = { version = "1.0", optional = true }

README.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 0 deletions

crates/trycmd/Cargo.toml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[package]
2+
name = "trycmd"
3+
version = "0.15.1"
4+
description = "Snapshot testing for a herd of CLI tests"
5+
authors = ["Ed Page <[email protected]>"]
6+
repository = "https://github.com/assert-rs/trycmd.git"
7+
homepage = "https://github.com/assert-rs/trycmd"
8+
documentation = "http://docs.rs/trycmd/"
9+
readme = "README.md"
10+
categories = ["development-tools::testing"]
11+
keywords = ["cli", "test", "assert", "command", "duct"]
12+
license.workspace = true
13+
edition.workspace = true
14+
rust-version.workspace = true
15+
include.workspace = true
16+
17+
[package.metadata.docs.rs]
18+
all-features = true
19+
rustdoc-args = ["--cfg", "docsrs"]
20+
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
21+
22+
[package.metadata.release]
23+
pre-release-replacements = [
24+
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
25+
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
26+
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
27+
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
28+
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/trycmd/compare/{{tag_name}}...HEAD", exactly=1},
29+
]
30+
31+
[features]
32+
default = ["color-auto", "filesystem", "diff"]
33+
color = ["snapbox/color", "dep:anstream"]
34+
color-auto = ["snapbox/color-auto"]
35+
diff = ["snapbox/diff"]
36+
filesystem = ["snapbox/path"]
37+
38+
schema = ["dep:schemars", "dep:serde_json"]
39+
examples = ["snapbox/examples"]
40+
debug = ["snapbox/debug"]
41+
42+
[[bin]]
43+
name = "bin-fixture"
44+
45+
[[bin]]
46+
name = "trycmd-schema"
47+
required-features = ["schema"]
48+
49+
[dependencies]
50+
snapbox = { path = "../snapbox", version = "0.5.9", default-features = false, features = ["cmd"] }
51+
anstream = { version = "0.6.7", optional = true }
52+
53+
glob = "0.3.0"
54+
rayon = "1.5.1"
55+
56+
serde = { version = "1.0", features = ["derive"] }
57+
shlex = "1.1.0"
58+
humantime = "2"
59+
humantime-serde = "1"
60+
toml_edit = { version = "0.22", features = ["serde"] }
61+
escargot = { version = "0.5.7", optional = true }
62+
63+
schemars = { version = "0.8.3", features = ["preserve_order"], optional = true }
64+
serde_json = { version = "1.0", optional = true }

crates/trycmd/LICENSE-APACHE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE-APACHE

crates/trycmd/LICENSE-MIT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE-MIT

crates/trycmd/README.md

Lines changed: 55 additions & 0 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)