diff --git a/scripts/compile.sh b/scripts/compile.sh index d5c892d3..c91606cd 100644 --- a/scripts/compile.sh +++ b/scripts/compile.sh @@ -1,4 +1,4 @@ -#/bin/bash +#!/bin/bash set -e diff --git a/scripts/dist-dir.sh b/scripts/dist-dir.sh index ccdd63ec..64097c15 100644 --- a/scripts/dist-dir.sh +++ b/scripts/dist-dir.sh @@ -1,3 +1,3 @@ -#/bin/bash +#!/bin/bash yarn compile && DEBUG=electron-builder electron-builder --dir -c.compression=store -c.mac.identity=null diff --git a/scripts/dist.sh b/scripts/dist.sh index 1f21e6c1..8650e8f3 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -1,3 +1,3 @@ -#/bin/bash +#!/bin/bash yarn compile && DEBUG=electron-builder electron-builder diff --git a/scripts/hash-utils.sh b/scripts/hash-utils.sh index 7210614a..2458428d 100644 --- a/scripts/hash-utils.sh +++ b/scripts/hash-utils.sh @@ -1,4 +1,4 @@ -#/bin/bash +#!/bin/bash function GET_HASH_PATH { HASH_NAME=$1 diff --git a/scripts/install-ci-deps.sh b/scripts/install-ci-deps.sh index c0ecbae2..7b842885 100644 --- a/scripts/install-ci-deps.sh +++ b/scripts/install-ci-deps.sh @@ -1,4 +1,4 @@ -#/bin/bash +#!/bin/bash source scripts/hash-utils.sh diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index 0b9faffb..5c919a72 100755 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -1,4 +1,4 @@ -#/bin/bash +#!/bin/bash source scripts/hash-utils.sh diff --git a/scripts/start.sh b/scripts/start.sh index bff53db4..01a7084e 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,4 +1,4 @@ -#/bin/bash +#!/bin/bash concurrently --raw --kill-others \ "cross-env NODE_ENV=development webpack-cli --mode development --watch --config webpack/internals.config.js" \