mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
script fixes
This commit is contained in:
parent
f93c5cb9a1
commit
671e9ccb1c
15
build.sh
15
build.sh
@ -1,16 +1,19 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DIR="$(dirname $(readlink -f $0))"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
echo -e "\n# Building Web"
|
echo ""
|
||||||
|
echo "# Building Web"
|
||||||
|
|
||||||
echo -e "\nBuilding app"
|
echo ""
|
||||||
echo -e "npm version $(npm --version)"
|
echo "Building app"
|
||||||
echo -e "gulp version $(gulp --version)"
|
echo "npm version $(npm --version)"
|
||||||
|
echo "gulp version $(gulp --version)"
|
||||||
npm install
|
npm install
|
||||||
gulp dist:selfHosted
|
gulp dist:selfHosted
|
||||||
|
|
||||||
echo -e "\nBuilding docker image"
|
echo ""
|
||||||
|
echo "Building docker image"
|
||||||
docker --version
|
docker --version
|
||||||
docker build -t bitwarden/web $DIR/.
|
docker build -t bitwarden/web $DIR/.
|
||||||
|
Loading…
Reference in New Issue
Block a user