Skip to content

Commit 487f7fc

Browse files
committed
m
1 parent eafd0fc commit 487f7fc

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

DynamoDbEncryption/runtimes/rust/start_release.sh

+15-1
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,21 @@ export AWS_ACCESS_KEY_ID=`echo "$STS_RESPONSE" | jq -r .Credentials.AccessKeyId`
2929
export AWS_SECRET_ACCESS_KEY=`echo "$STS_RESPONSE" | jq -r .Credentials.SecretAccessKey`
3030
export AWS_SESSION_TOKEN=`echo "$STS_RESPONSE" | jq -r .Credentials.SessionToken`
3131
unset AWS_PROFILE AWS_SDK_LOAD_CONFIG _assume_role _session_name STS_RESPONSE
32-
32+
33+
echo
34+
echo
35+
echo "Current Dafny Version:"
36+
dafny --version
37+
echo
38+
echo
39+
sleep 2
40+
3341
# Update the version in Cargo.toml
3442
perl -pe "s/^version = .*$/version = \"$1\"/" < Cargo.toml > new_Cargo.toml
3543
mv new_Cargo.toml Cargo.toml
3644

45+
set -v
46+
3747
# Remove all files and directories in src except for specified files
3848
find src -depth 1 | egrep -v '(intercept.rs|lib.rs|software_externs.rs|README)' | xargs rm -rf
3949

@@ -65,6 +75,10 @@ echo target >> .gitignore
6575
# format the generated code
6676
cargo fmt
6777

78+
# clippy shuld run clean
79+
cargo clippy
80+
cargo clippy --example main
81+
6882
# replace local path with latest dafny-runtime from crates.io
6983
cargo rm dafny-runtime
7084
cargo add dafny-runtime -F sync

0 commit comments

Comments
 (0)