A tool for quickly test solutions for the C piscine exercises. Based on https://github.com/mirror12k/42us-stupidity.git
- Clone moulinette21
- Go inside moulinette21
- Clone a day's repo inside moulinette21
- Run
./spawn.pl <c_repo> config_<c_repo>.pl
Replacing the placeholders! This will create the test files for all the exercises. - Run
./tools/build.sh
Build the exercies' files with the provided main.c's. - Run
./tools/verify.sh
This makes norminette verify all the files. (Only works from the iMacs in the labs.) - Run
./tools/check_all.sh
This will perform every test. If tests pass then they will saygood
otherwise errors are printed on the terminal.
$ git clone https://github.com/mirror12k/42us-stupidity.git Moulinette
$ cd Moulinette
$ cp ~/Desktop/c01 c01
$ ./spawn.pl c01 config_c01.pl
$ ./tools/build.sh
$ ./tools/verify.sh
$ ./tools/check_all.sh