diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-09-21 12:37:04 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-09-21 12:37:04 +0800 |
| commit | 24c2c8cad43c755cf668ea92a08c0be7fb3b819d (patch) | |
| tree | 790c8c9bcc67661748b6a58f471d8cce11efaa86 /publish.sh | |
| parent | 7e7c9522a77625569d4a036323814ba5367ebc28 (diff) | |
First
Diffstat (limited to 'publish.sh')
| -rwxr-xr-x | publish.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..7e1a0ac --- /dev/null +++ b/publish.sh @@ -0,0 +1,10 @@ +#!/bin/bash +cd "$(dirname "$0")" + +cargo build --workspace + +if [ $? -eq 0 ]; then + cargo run --package cli_publisher +else + exit 1 +fi |
