mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 20:28:15 +03:00
Revert "add offline option to bundleWeb.sh (#3193)"
This reverts commit e338da9fa3
.
This commit is contained in:
parent
8bf46daf63
commit
82d5e5c695
1 changed files with 2 additions and 15 deletions
|
@ -5,26 +5,13 @@ set -o errexit
|
|||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
OFFLINE=0
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
--offline)
|
||||
OFFLINE=1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
# Change to the root directory of the repository
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
cd web
|
||||
|
||||
if [ ! "$OFFLINE" ]
|
||||
then
|
||||
echo "Installing npm modules for the owncast web..."
|
||||
npm --silent install 2>/dev/null
|
||||
fi
|
||||
echo "Installing npm modules for the owncast web..."
|
||||
npm --silent install 2>/dev/null
|
||||
|
||||
echo "Building owncast web..."
|
||||
rm -rf .next
|
||||
|
|
Loading…
Reference in a new issue