lottery-project/scripts/build_frontend.sh
2024-06-21 23:57:45 +03:00

19 lines
314 B
Bash

#!/bin/bash
# Navigate to the frontend directory
cd frontend
# Ensure dependencies are up to date
echo "Installing dependencies..."
yarn install
# Build the Next.js application
echo "Building frontend..."
yarn build
# Display success message
echo "Frontend build completed successfully."
# Exit script
exit 0