Skip to content

Commit 5ab83a6

Browse files
author
katelyn martin
authored
Remove witx workspace (#438)
* move 'tools/witx/cli' crate into 'tools/witx-cli' * update witx and witx-cli manifests * update repo doc script
1 parent d4d3df3 commit 5ab83a6

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

tools/repo_docs.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env bash
22
set -ex
3-
cd $(dirname $(realpath $0))/witx
4-
cargo run -p witx-cli -- docs $1 ../../phases/snapshot/witx/wasi_snapshot_preview1.witx --output ../../phases/snapshot/docs.md
5-
cargo run -p witx-cli -- docs $1 ../../phases/old/snapshot_0/witx/wasi_unstable.witx --output ../../phases/old/snapshot_0/docs.md
6-
cargo run -p witx-cli -- docs $1 \
3+
cd $(dirname $(realpath $0))/witx-cli
4+
cargo run -- docs $1 ../../phases/snapshot/witx/wasi_snapshot_preview1.witx --output ../../phases/snapshot/docs.md
5+
cargo run -- docs $1 ../../phases/old/snapshot_0/witx/wasi_unstable.witx --output ../../phases/old/snapshot_0/docs.md
6+
cargo run -- docs $1 \
77
../../phases/ephemeral/witx/wasi_ephemeral_args.witx \
88
../../phases/ephemeral/witx/wasi_ephemeral_clock.witx \
99
../../phases/ephemeral/witx/wasi_ephemeral_environ.witx \

tools/witx/cli/Cargo.toml renamed to tools/witx-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ name = "witx"
1515
path = "src/main.rs"
1616

1717
[dependencies]
18-
witx = { path = "../", version = "0.9.1" }
18+
witx = { path = "../witx", version = "0.9.1" }
1919
anyhow = "1"
2020
log = "0.4"
2121
thiserror = "1.0"
File renamed without changes.

tools/witx/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,3 @@ rayon = "1.0"
2525
[[test]]
2626
name = "witxt"
2727
harness = false
28-
29-
[workspace]
30-
members = [
31-
"cli",
32-
]

0 commit comments

Comments
 (0)