A tool for quickly test solutions for the piscine exercises.
- Clone 42us-stupidity
- Go inside 42us-stupidity
- Clone a day's repo inside 42us-stupidity
- Run
./spawn.pl <day_repo> config_d<day_number>.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 stupidMoulinette
...
$ cd stupidMoulinette
$ cp ~/Desktop/day03 day03
$ ./spawn.pl day03 config_d03.pl
...
$ ./tools/build.sh
...
$ ./tools/verify.sh
...
$ ./tools/check_all.sh
...