brms-linter
v0.0.1
Published
A linter for BRMS
Downloads
1
Readme
Linter for BRMS
Install the latest release
git clone --depth 1 --branch releases [email protected]: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 [email protected]: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