adding git actions
This commit is contained in:
14
flake.nix
14
flake.nix
@@ -77,16 +77,16 @@
|
|||||||
''
|
''
|
||||||
clear
|
clear
|
||||||
|
|
||||||
echo "Hello, this shell script will bootstrap a P2PRC Haskell project with Nix Flake\n"
|
printf "Hello, this shell script will bootstrap a P2PRC Haskell project with Nix Flake\n"
|
||||||
|
|
||||||
echo "Could you input the name of your project?\n"
|
printf "Could you input the name of your project?\n"
|
||||||
read \"\$PROJECT_NAME\"
|
read -r PROJECT_NAME
|
||||||
|
|
||||||
cd \"\$PROJECT_NAME\"
|
cd \"\$PROJECT_NAME\"
|
||||||
|
|
||||||
git init .
|
git init .
|
||||||
|
|
||||||
echo \"\$PWD\"
|
printf \"\$PWD\"
|
||||||
|
|
||||||
cabal init --exe --simple
|
cabal init --exe --simple
|
||||||
|
|
||||||
@@ -101,10 +101,10 @@
|
|||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
echo "run the following commands:\n\n"
|
printf "run the following commands:\n\n"
|
||||||
|
|
||||||
echo "cd \"\$PROJECT_NAME\"\n"
|
printf "cd \"\$PROJECT_NAME\"\n"
|
||||||
echo "nix run github:xecarlox94/p2p-rendering-computation?ref=nix#initHaskellProject"
|
printf "nix run github:xecarlox94/p2p-rendering-computation?ref=nix#initHaskellProject"
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user