浏览代码

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

* Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules
Stanisław Drozd 4 年之前
父节点
当前提交
c5d90f779c

+ 1 - 1
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

+ 1 - 1
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
 

+ 1 - 1
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
 

+ 1 - 1
generate-protos.sh

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

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
scripts/tail.sh

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

+ 1 - 1
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

+ 1 - 1
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
 

+ 1 - 1
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)

+ 1 - 1
tilt_modules/namespace/test/test.sh

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

+ 1 - 1
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

+ 1 - 0
web/.dockerignore

@@ -0,0 +1 @@
+node_modules