This repository is an empty project for 42School Project. It has some useful things ready to use for any 42project:
- Ready to use unitest for your project;
- Makefile rules to debug with
lldb
,sanitize
; - Makefile to check leaks;
- Refresh makefile files list with Sublime 42 tools;
- Deployment script to make a rendered project for Moulinette & defense (this script will ignore all the file that you add in your
.vogignore
, that should be all debug and test file)sh ./hooks/deploy
(You will find an explanation below); - Optimized makefile, you don't need to do
make re
when you test your code (the$(HDEPS)
dependancy in%.o
and$(NAME)
rules will detect for you if amake re
is needed, you just need to list all you header files in HDEP variable).
Example of rendered project generated by the deployment script: [email protected]:GlaceCoding/Empty_42School_Project_vogsphere.git
Goal of the deployment script: Have on repository for github and vogsphere (intra 42), and be able to push with only one command.
You can get more explanation about the deployment script here: [FR] hooks/README.md#script-deploy, here EN translation : [EN] hooks/README.md#script-deploy
Add vogsphere remote with git remote
:
git remote add vogsphere [email protected]:GlaceCoding/Empty_42School_Project_vogsphere.git