Skip to content

Commit

Permalink
Format script files better
Browse files Browse the repository at this point in the history
  • Loading branch information
matt committed Sep 5, 2024
1 parent abf649a commit 05108ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/sh/emojicoin/create-publish-payloads.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ output_prefix="$this_dir/json/publish"

profile="emojicoin_test_publisher"

log_info "Here's something cool: $(highlight_text 'this is highlighted.')"

{
output_path="$output_prefix-rewards.json"
aptos move build-publish-payload \
Expand Down
12 changes: 6 additions & 6 deletions src/sh/emojicoin/create-test-profiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
# ------------------------------------------------------------------------------
root_dir=$(git rev-parse --show-toplevel)
docker_dir="$root_dir/src/docker"
move_dir="$root_dir/src/move"
sh_dir="$root_dir/src/sh"

source $sh_dir/setup-terminal-colors.sh

if [ ! -f "$docker_dir/.env" ]; then
log_info "$docker_dir/.env does not exist. Copying example.local.env to .env"
log_info
"$docker_dir/.env does not exist. Copying example.local.env to .env"
cp $docker_dir/example.local.env $docker_dir/.env
fi

Expand All @@ -35,10 +35,10 @@ initialize_and_fund() {
--private-key "$private_key" \
--encoding hex \
--network local \
--assume-yes &&
aptos account fund-with-faucet \
--profile "$profile" \
--amount 100000000000000000
--assume-yes \
&& aptos account fund-with-faucet \
--profile "$profile" \
--amount 100000000000000000
}

maybe_initialize_and_fund() {
Expand Down

0 comments on commit 05108ec

Please sign in to comment.