mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-25 23:03:07 +02: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
|
||||
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 -e "npm version $(npm --version)"
|
||||
echo -e "gulp version $(gulp --version)"
|
||||
echo ""
|
||||
echo "Building app"
|
||||
echo "npm version $(npm --version)"
|
||||
echo "gulp version $(gulp --version)"
|
||||
npm install
|
||||
gulp dist:selfHosted
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
echo ""
|
||||
echo "Building docker image"
|
||||
docker --version
|
||||
docker build -t bitwarden/web $DIR/.
|
||||
|
|
Loading…
Reference in New Issue
Block a user