adding git actions

This commit is contained in:
2025-06-01 23:47:11 +01:00
parent 30004d59c6
commit f06df58a8a

View File

@@ -77,27 +77,21 @@
''
clear
if [ "$#" -eq 0 ]; then
echo "No arguments provided."
echo "No arguments provided."
echo "Please provide the name of your project"
exit 1;
fi
PROJECT_DIR="$1"
echo -e "$PROJECT_DIR"
mkdir "$PROJECT_DIR"
cd "$PROJECT_DIR"
echo "$PWD"
git init .
cabal init --exe --simple
#
# git init .
#
# echo -e "$PWD"
#
# cabal init --exe --simple
#
# # TODO: remove reference to cabal file
# sed -i 's/base.*$/base, p2prc/' "$PROJECT_DIR".cabal
#