norminette @ home
The Norminette is a tool by 42 Network, to check that the source code respects the school’s norm.
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 source ~/.zshrc
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 source ~/.zshrc
bundle
norminette.rbfrom any folder. (https://docs.alfresco.com/4.2/tasks/fot-addpath.html)
Here it is!