Skip to content

Commit

Permalink
Remove witx workspace (WebAssembly#438)
Browse files Browse the repository at this point in the history
* move 'tools/witx/cli' crate into 'tools/witx-cli'

* update witx and witx-cli manifests

* update repo doc script
  • Loading branch information
katelyn martin authored Jun 23, 2021
1 parent d4d3df3 commit 5ab83a6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
8 changes: 4 additions & 4 deletions tools/repo_docs.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
set -ex
cd $(dirname $(realpath $0))/witx
cargo run -p witx-cli -- docs $1 ../../phases/snapshot/witx/wasi_snapshot_preview1.witx --output ../../phases/snapshot/docs.md
cargo run -p witx-cli -- docs $1 ../../phases/old/snapshot_0/witx/wasi_unstable.witx --output ../../phases/old/snapshot_0/docs.md
cargo run -p witx-cli -- docs $1 \
cd $(dirname $(realpath $0))/witx-cli
cargo run -- docs $1 ../../phases/snapshot/witx/wasi_snapshot_preview1.witx --output ../../phases/snapshot/docs.md
cargo run -- docs $1 ../../phases/old/snapshot_0/witx/wasi_unstable.witx --output ../../phases/old/snapshot_0/docs.md
cargo run -- docs $1 \
../../phases/ephemeral/witx/wasi_ephemeral_args.witx \
../../phases/ephemeral/witx/wasi_ephemeral_clock.witx \
../../phases/ephemeral/witx/wasi_ephemeral_environ.witx \
Expand Down
2 changes: 1 addition & 1 deletion tools/witx/cli/Cargo.toml → tools/witx-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name = "witx"
path = "src/main.rs"

[dependencies]
witx = { path = "../", version = "0.9.1" }
witx = { path = "../witx", version = "0.9.1" }
anyhow = "1"
log = "0.4"
thiserror = "1.0"
Expand Down
File renamed without changes.
5 changes: 0 additions & 5 deletions tools/witx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,3 @@ rayon = "1.0"
[[test]]
name = "witxt"
harness = false

[workspace]
members = [
"cli",
]

0 comments on commit 5ab83a6

Please sign in to comment.