Skip to content

Commit

Permalink
chore: make it work enough to release
Browse files Browse the repository at this point in the history
  • Loading branch information
andoriyu committed Oct 25, 2021
1 parent 649f858 commit 4650136
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,4 @@ tempdir = "0.3"
tempfile = "3"

[package.metadata.release]
sign-commit = true
dev-version-ext = "pre"
8 changes: 4 additions & 4 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@


run_bsd() {
rsync -avz -e "ssh" --exclude .git --exclude .idea --exclude target --exclude libzfs_core-sys/target --progress ~/Dev/Heaven/libzetta [email protected].163:/root/ && \
exec ssh [email protected].163 "set -x; zpool list -H -oname | grep test | xargs zpool destroy; mdconfig -d -u 1; mdconfig -a -s 96m -u1 ;cd /root/libzetta; source ~/.cargo/env; cargo test --color=always $*; mdconfig -d -u1"
rsync -avz -e "ssh" --exclude .git --exclude .idea --exclude target --exclude libzfs_core-sys/target --progress /home/andoriyu/dev/github.com/Inner-Heaven/libzetta-rs [email protected].25:/root/ && \
exec ssh [email protected].25 "set -x; zpool list -H -oname | grep test | xargs zpool destroy; mdconfig -d -u 1; mdconfig -a -s 96m -u1 ;cd /root/libzetta; source ~/.cargo/env; cargo test --color=always $*; mdconfig -d -u1"
}

run_linux() {
rsync -avz -e "ssh" --exclude .git --exclude .idea --exclude target --exclude libzfs_core-sys/target --progress ~/Dev/Heaven/libzetta [email protected]:/root/ && \
rsync -avz -e "ssh" --exclude .git --exclude .idea --exclude target --exclude libzfs_core-sys/target --progress /home/andoriyu/dev/github.com/Inner-Heaven/libzetta-rs [email protected]:/root/ && \
exec ssh [email protected] "set -x; zpool list -H -oname | grep test | xargs zpool destroy;cd /root/libzetta; source ~/.cargo/env; cargo test --color=always $*"
}

cargo check --tests || exit 1
#cargo check --tests || exit 1
if [ $1 == "linux" ]; then
shift
run_linux $*
Expand Down

0 comments on commit 4650136

Please sign in to comment.