Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules (#159)

* Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules
This commit is contained in:
Stanisław Drozd 2021-01-23 18:20:17 +01:00 committed by GitHub
parent 33690d97b4
commit c5d90f779c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 13 additions and 12 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
#
# This script downloads and installs development dependencies required for

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This script copies package{-lock}.json from a running container.
set -e

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
(
cd tools/

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
kubectl exec -it solana-devnet-0 -c setup ./lockups.sh

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
while : ; do
kubectl logs --tail=1000 --follow=true $1 guardiand

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This script configures the devnet for test transfers with hardcoded addresses.
set -x

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Generate test lockups on Solana to be executed on Ethereum
# Constants (hardcoded)

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
cd $(dirname $0)

View File

@ -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

1
web/.dockerignore Normal file
View File

@ -0,0 +1 @@
node_modules