diff --git a/dev-install.sh b/dev-install.sh index 8a728565c..d0159d2c7 100755 --- a/dev-install.sh +++ b/dev-install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail # # This script downloads and installs development dependencies required for diff --git a/ethereum/copy-from-container.sh b/ethereum/copy-from-container.sh index 91682ce92..728ae1197 100755 --- a/ethereum/copy-from-container.sh +++ b/ethereum/copy-from-container.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script copies package{-lock}.json from a running container. set -e diff --git a/generate-abi.sh b/generate-abi.sh index ff9ff153f..1a0bf5931 100755 --- a/generate-abi.sh +++ b/generate-abi.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Regenerate bridge/pkg/ethereum/abi using a running eth-devnet's state. set -euo pipefail diff --git a/generate-protos.sh b/generate-protos.sh index a0c327f00..2a63473db 100755 --- a/generate-protos.sh +++ b/generate-protos.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ( cd tools/ diff --git a/scripts/send-eth-lockups.sh b/scripts/send-eth-lockups.sh index 144dc7534..9d2f405ff 100755 --- a/scripts/send-eth-lockups.sh +++ b/scripts/send-eth-lockups.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e kubectl exec -it -c tests eth-devnet-0 -- npx truffle exec src/send-lockups.js diff --git a/scripts/send-solana-lockups.sh b/scripts/send-solana-lockups.sh index 577607a85..d76d0396d 100755 --- a/scripts/send-solana-lockups.sh +++ b/scripts/send-solana-lockups.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e kubectl exec -it solana-devnet-0 -c setup ./lockups.sh diff --git a/scripts/tail.sh b/scripts/tail.sh index c9f383a6c..e8a021e35 100644 --- a/scripts/tail.sh +++ b/scripts/tail.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash while : ; do kubectl logs --tail=1000 --follow=true $1 guardiand diff --git a/scripts/test-injection.sh b/scripts/test-injection.sh index 3fef17351..842df65fd 100755 --- a/scripts/test-injection.sh +++ b/scripts/test-injection.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script submits a guardian set update using the VAA injection admin command. # First argument is node to submit to. Second argument is current set index. set -e diff --git a/solana/devnet_setup.sh b/solana/devnet_setup.sh index f81e9472b..aa595c951 100755 --- a/solana/devnet_setup.sh +++ b/solana/devnet_setup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script configures the devnet for test transfers with hardcoded addresses. set -x diff --git a/solana/lockups.sh b/solana/lockups.sh index f201d4530..e3637c0dc 100755 --- a/solana/lockups.sh +++ b/solana/lockups.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Generate test lockups on Solana to be executed on Ethereum # Constants (hardcoded) diff --git a/tilt_modules/namespace/test/test.sh b/tilt_modules/namespace/test/test.sh index 89fcf370f..e61bbab5b 100755 --- a/tilt_modules/namespace/test/test.sh +++ b/tilt_modules/namespace/test/test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash cd $(dirname $0) diff --git a/tools/build.sh b/tools/build.sh index 808c7158b..fe5631b22 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e go build -mod=readonly -o bin/protoc-gen-go google.golang.org/protobuf/cmd/protoc-gen-go diff --git a/web/.dockerignore b/web/.dockerignore new file mode 100644 index 000000000..b512c09d4 --- /dev/null +++ b/web/.dockerignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file