adding git actions

This commit is contained in:
2025-06-01 23:54:25 +01:00
parent 9de0b1b985
commit aafc0ebdd7

View File

@@ -79,6 +79,7 @@
if [ "$#" -eq 0 ]; then if [ "$#" -eq 0 ]; then
echo "No arguments provided." echo "No arguments provided."
echo "Please provide the name of your project" echo "Please provide the name of your project"
echo "nix run github:akilan1999/p2p-rendering-computation#initHaskellProject -- <NAME-PROJECT>"
exit 1; exit 1;
fi fi
@@ -100,12 +101,11 @@
# TODO: add cabal2nix shell.nix generator # TODO: add cabal2nix shell.nix generator
git add . git add .
clear clear
echo -e "run the following commands:\n\n" echo -e "run the following commands:\n\n"
echo -e "cd "$PROJECT_DIR"\n" echo -e "cd $PROJECT_DIR\n"
echo -e "nix run github:xecarlox94/p2p-rendering-computation?ref=nix#initHaskellProject" echo -e "nix run github:xecarlox94/p2p-rendering-computation?ref=nix#initHaskellProject"
''; '';