Files
website-v2-docs/antora-ui/build.sh
2023-04-25 18:10:24 -03:00

18 lines
314 B
Bash
Executable File

#!/bin/sh
# This script is used to build the Antora-UI
npm_version=$(npm --version 2>/dev/null)
if [ -z "$npm_version" ]; then
echo "npm is not installed"
exit 1
fi
gulp_version=$(gulp --version 2>/dev/null)
if [ -z "$gulp_version" ]; then
echo "gulp is not installed"
exit 1
fi
npm install
gulp bundle