We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ead419a commit 0e95baeCopy full SHA for 0e95bae
zombienet.sh
@@ -1,15 +1,12 @@
1
#!/bin/bash
2
3
-os=$(uname -s)
+# Check if the zombienet binary is available.
4
+if ! [ -x "$(command -v zombienet)" ]; then
5
+ echo "\
6
+zombienet is not found in PATH. Install zombienet.
7
-if [ "$os" == "Darwin" ]; then
- ./bin/zombienet-macos spawn -p native --dir zombienet testnet.toml
-
8
-elif [ "$os" == "Linux" ]; then
9
- # @gabriele-0201 TODO: find a better way to do this
10
- source export_paths.sh
11
- ./../zombienet-linux-x64 spawn -p native --dir zombienet testnet.toml
12
-else
13
- echo "Unsupported operating system"
14
- exit 1
+Available at https://github.com/paritytech/zombienet"
+ exit 1
15
fi
+
+zombienet spawn -p native --dir zombienet testnet.toml
0 commit comments