norminette @ home

Created by 42.fr

⚠️ The norminette v2 is now deprecated in favor of the v3: https://github.com/42School/norminette ⚠️


Norminette

The Norminette is a tool by 42 Network, to check that the source code respects the school’s norm.



Installing instructions

OSX:

Tested on Mac OS X 10.14.6 with ruby 2.6.3p62

git clone https://github.com/42Paris/norminette.git ~/.norminette/
cd ~/.norminette/
bundle # it will ask for your password.

Create an alias

echo 'alias norminette="~/.norminette/norminette.rb"' >> ~/.zshrc
exec zsh



GNU/Linux

Tested on Ubuntu 18.04.4 with ruby 2.5.1p57

sudo apt-get install ruby ruby-bundler ruby-dev build-essential
git clone https://github.com/42Paris/norminette.git ~/.norminette/
cd ~/.norminette/
bundle

Create an alias

echo 'alias norminette="~/.norminette/norminette.rb"' >> ~/.zshrc
exec zsh



Windows

Here it is!