This repository contains various scripts and tools designed to streamline project initialization and commit management. It includes:
install.sh: Installs all necessary scripts and dependencies.pushnorme.sh: A commit helper script enforcing structured commit messages.init_project.sh: Automates the initialization of C, C++, and Haskell projects.epitest_docker: A Docker setup for running Epitech-style tests.
To install all scripts and tools, run:
chmod +x install.sh
./install.shpushnorme.sh [type] [comment][type](optional) defines the type of commit:.: Feature commit (default)-f: Fix-d: Documentation update-s: Style improvements-rm: Deletion-t: Testing-b: Build changes-m: Merge-h: Help menu
[comment]is the commit message.
pushnorme.sh -f "Fixed memory leak in parser"The script also ensures a successful build before committing. If the push fails, it attempts to set the upstream branch automatically.
Create a project based on the Epitech requirements, works as a template but due to the way epitech's repo are created github templates don't work.
init_project.sh [type] [project_name][type]specifies the project type:-C: C project-CPP: C++ project-Hs: Haskell project
[project_name]is the name of the project.
- Creates required directories (
src,includefor C/C++ projects). - Copies relevant template files.
- Replaces placeholders with the project name.
- Optionally initializes a Git repository.
init_project.sh -C my_projectThis initializes a C project named my_project.
For Haskell projects, it updates .cabal and package.yaml files accordingly.
Not a lot to say about it, it install the base layer of software neede to work
epitest_docker: A Dockerized testing environment.pushnorme_error: Logs errors whenpushnorme.shfails.HyDeWallpaper: Move a wallpaper into the selected theme folder for HyDe
Feel free to submit pull requests or open issues for improvements.
This project is licensed under MIT License.