npm.io
0.0.1 • Published 6 years agoCLI

brms-linter

Licence
MIT
Version
0.0.1
Deps
2
Size
206 kB
Vulns
0
Weekly
0

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 releases
git fetch origin releases
git 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 files git add -f build/*;git commit -v --no-edit --amend