All inputs given are stored and added to a file in /tmp directory. It is then compiled by gcc. If input results in error, that line is removed. The program currently supports C code (with macros) written in one line.
cin uses the following packages:
gcc
To run cin:
git clone https://github.com/Carricossauro/cin --branch v1.2.8
cd cin
make all
./bin/cin
To install cin system wide:
git clone https://github.com/Carricossauro/cin --branch v1.2.8
cd cin
make all
sudo cp bin/cin /bin/cin
cd ..
rm -rf cin
To start cin:
cin
To remove cin system wide:
sudo rm -f /bin/cin
To install git hook for naming convention:
cp git/hooks/pre-commit .git/hooks/pre-commit
Naming convention:
[keyword]/[Issue number]-[branch name]
Keywords:
feature
bugfix
doc
dev
code
Example:
feature/29-add-macro-support