sebkzn / init_c_project_delivery

Simple bash script that create basics folders and files for an Epitech C project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 git@github.com:ORGANIZATION/B-EPITECH-PROJECT-1-1-firstname.lastname.git

About

Simple bash script that create basics folders and files for an Epitech C project.


Languages

Language:Shell 100.0%