Linter for BRMS
Install the latest release
git clone --depth 1 --branch releases git@github.com:theodo/brms-linter.git
Usage
Single file:
node app.js filepath.srl
Several files, use a glob:
node app.js './**/*.srl'
Update
git checkout releasesgit fetch origin releasesgit pull
Dev
Install
- Clone the repository
git clone git@github.com:theodo/brms-linter.git
- You need to install antlr
- Create a simlink to your installed antlr
ln -sr <path to your installed antlr> <repo path>/antlr
Run
- Run
make build-parser
to rebuild the parser npm start
to run it again sample.srl
Release :
- From branch master:
- Checkout the releases branch
git checkout releases
- Merge master in releases
git merge master
- Run
make build-parser
and amend the merge commit with the generated filesgit add -f build/*;git commit -v --no-edit --amend