This project is no longer supported by 42 São Paulo. This version of Norminette concerns the V2 version of the 42 Network's most beloved linter. If you are looking to install the current version (V3) of Norminette use this version: https://github.com/42School/norminette
The Norminette is a tool by 42 Network, to check that the source code respects the school’s norm.
Given the temporary lockdown of 42 São Paulo’s facilities, we have decided to give remote access to the Norminette.
Tested on Mac OS X 10.14.6 with ruby 2.6.3p62
git clone https://github.com/42sp/norminette-client.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/42sp/norminette-client.git ~/.norminette/
cd ~/.norminette/
bundle
Create an alias
echo 'alias norminette="~/.norminette/norminette.rb"' >> ~/.profile
source ~/.profile
- 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!