Skip to content

Commit f06df58

Browse files
committed
adding git actions
1 parent 30004d5 commit f06df58

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

flake.nix

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,27 +77,21 @@
7777
''
7878
clear
7979
if [ "$#" -eq 0 ]; then
80-
echo "No arguments provided."
80+
echo "No arguments provided."
81+
echo "Please provide the name of your project"
8182
exit 1;
8283
fi
8384
8485
PROJECT_DIR="$1"
8586
86-
echo -e "$PROJECT_DIR"
87-
8887
mkdir "$PROJECT_DIR"
8988
9089
cd "$PROJECT_DIR"
9190
92-
echo "$PWD"
91+
git init .
92+
93+
cabal init --exe --simple
9394
94-
#
95-
# git init .
96-
#
97-
# echo -e "$PWD"
98-
#
99-
# cabal init --exe --simple
100-
#
10195
# # TODO: remove reference to cabal file
10296
# sed -i 's/base.*$/base, p2prc/' "$PROJECT_DIR".cabal
10397
#

0 commit comments

Comments
 (0)