mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
19 lines
344 B
Bash
19 lines
344 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -e
|
||
|
|
||
|
# Get the parent directory of where this script is.
|
||
|
SOURCE="${BASH_SOURCE[0]}"
|
||
|
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
||
|
DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
|
||
|
|
||
|
# Change into that dir because we expect that.
|
||
|
cd $DIR
|
||
|
|
||
|
# Build the web assets.
|
||
|
pushd ui
|
||
|
bundle
|
||
|
make dist
|
||
|
popd
|
||
|
|
||
|
exit 0
|