main #8
1 changed files with 15 additions and 1 deletions
16
build.sh
16
build.sh
|
@ -1,5 +1,19 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
read -p "build the frontend? Yes(y) / No(n) / Cancel(c):- " choice
|
|
||||||
|
# Reset
|
||||||
|
RESET='\033[0m' # Text Reset
|
||||||
|
|
||||||
|
# Regular Colors
|
||||||
|
BLACK='\033[0;30m' # Black
|
||||||
|
RED='\033[0;31m' # Red
|
||||||
|
GREEN='\033[0;32m' # Green
|
||||||
|
YELLOW='\033[0;33m' # Yellow
|
||||||
|
BLUE='\033[0;34m' # Blue
|
||||||
|
PURPLE='\033[0;35m' # Purple
|
||||||
|
CYAN='\033[0;36m' # Cyan
|
||||||
|
WHITE='\033[0;37m' # White
|
||||||
|
|
||||||
|
read -p "${CYAN}build the frontend? ${GREEN}Yes(y) ${RESET}/ No(n) ${RESET}/ Cancel(c)${RESET}:- " choice
|
||||||
if [ "$choice" = "y" ]; then
|
if [ "$choice" = "y" ]; then
|
||||||
echo "building static site!"
|
echo "building static site!"
|
||||||
pnpm i
|
pnpm i
|
||||||
|
|
Loading…
Reference in a new issue