1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-22 02:12:30 +01:00

Improve POSIX setup script

This commit is contained in:
asdfugil 2021-04-29 10:16:52 +08:00
parent 02ba0238b9
commit 3a1fce2d4c
2 changed files with 12 additions and 9 deletions

0
scripts/setup/setup.bat Normal file → Executable file
View File

21
scripts/setup/setup.sh Normal file → Executable file
View File

@ -1,12 +1,15 @@
echo --------------------------------------
echo Discord Open Source Contribution Setup
echo strg+c/strg+d to exit
echo -------------------------------------------
echo This will clone and setup all repositories,
echo if you only want to work on one specific repository
echo follow their specific Getting Started Guide and exit this script
echo ----------------------------------------------------------------
echo "Are you sure you want to continue (y/n)?"
#!/bin/sh
cat << EOF
--------------------------------------
Discord Open Source Contribution Setup
strg+c/strg+d to exit
-------------------------------------------
This will clone and setup all repositories,
if you only want to work on one specific repository
follow their specific Getting Started Guide and exit this script
----------------------------------------------------------------
EOF
printf "Are you sure you want to continue (y/N)? "
read -p "" CONT
if [ "$CONT" != "y" ]; then
echo Aborting setup