This is a Python script that builds a 42 Project Template for your C Projects.
- Git
- Python3
Clone the repository:
git clone https://github.com/SrVariable/42ProjectTemplateBuilderGo inside the folder:
cd 42ProjectTemplateBuilderRun the file:
python3 main.pyIt will ask you the project name, your login, your email and a tag, which will be displayed alongside 42 logo.
Project Name: hello_world
Login: ribana-b
Email: ribana-b@student.42malaga.com
Tag: MálagaTag field is optional. By default, it is set to your campus, extracted from email.
Note
If you don't want to introduce your data every time you run the script
you can create a .env file following the .env.example in the root
directory of 42ProjectTemplateBuilder.
It will create the following directory tree in the current directory:
| - hello_world
| | - include
| | | - hello_world.h
| | - src
| | | - hello_world.c
| | - utils
| | | - utils.c
| | - Makefile