Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 772 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 772 Bytes

init_c_project_delivery

Simple bash script that creates usual folders and files for an Epitech C project.


Features:

  • make include, lib, src, tests and bonus directories
  • copy your lib/my folder and paste it to the repository, then copy and paste my.h file in the include directory
  • make a minimal main.c file with a correct header
  • make a Makefile with a correct header
  • make a minimal .gitignore file
  • push to origin/master the initialized repository

Usage:

bash init_repo.sh [-l|--lib] <absolute_path_to_libmy> [-b|--binary] <binary_name> <repository_url>

Example:

bash init_repo.sh --lib ~/epitech/lib/my -b my_project [email protected]:ORGANIZATION/B-EPITECH-PROJECT-1-1-firstname.lastname.git