To execute the available script, please make build.sh executable
chmod ugo+x build.sh
Then you have to set a repository for the commit and push in your git
./build.sh -init
Enter the url of the repository and the name of the remote branch
-make_commit
: Execute the command make, do some clean up and commit-make
: Execute the command make, do some clean up-commit
: Do the commit-push
: Push your branch
apt-get install valgrind
Run the main file using valgrind
valgrind ./main
You can see the leak summary or the heap summary