Skip to content

Commit

Permalink
mv generate.sh invocation to test.sh
Browse files Browse the repository at this point in the history
addresses review comment #457 (comment)
  • Loading branch information
feuGeneA committed Aug 30, 2024
1 parent 4405529 commit 9396b4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
# Copyright (C) 2024, Ava Labs, Inc. All rights reserved.
# See the file LICENSE for licensing terms.

set -e errexit

# Root directory
root=$(
cd "$(dirname "${BASH_SOURCE[0]}")"
cd .. && pwd
)

"$root"/scripts/generate.sh
"$root"/scripts/build_relayer.sh
"$root"/scripts/build_signature_aggregator.sh
6 changes: 4 additions & 2 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ if [ "$HELP" = true ]; then
fi

# Directory above this script
RELAYER_PATH=$(
root=$(
cd "$(dirname "${BASH_SOURCE[0]}")"
cd .. && pwd
)
source "$RELAYER_PATH"/scripts/constants.sh
source "$root"/scripts/constants.sh

go build -o tests/cmd/decider/decider ./tests/cmd/decider/

"$root"/scripts/generate.sh

go test -tags testing $VERBOSE ./...

0 comments on commit 9396b4b

Please sign in to comment.