Created by 42.fr
⚠️ The norminette v2 is now deprecated in favor of the v3: https://github.com/42School/norminette ⚠️
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
exec zsh
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
- Install ruby 2.7 without DevKit: https://rubyinstaller.org/downloads/
- git clone this repository or download as a zip file
- extract into C:\norminette
- Go inside this folder with cmd.exe
- Run:
bundle
- Add C:\norminette into your PATH so you can use
norminette.rb
from any folder. (https://docs.alfresco.com/4.2/tasks/fot-addpath.html)
Here it is!