Skip to content

Commit 01620f8

Browse files
authored
Merge pull request #6 from distributed-lab/fix/typo-in-grammar
Fix typo in grammar
2 parents ad5eefd + b0ca093 commit 01620f8

File tree

13 files changed

+1124
-1420
lines changed

13 files changed

+1124
-1420
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@distributedlab/circom-parser",
33
"description": "Circom circuit parser built with ANTLR4",
4-
"version": "0.1.4",
4+
"version": "0.1.5",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"files": [
@@ -30,7 +30,8 @@
3030
"generate": "npm run init && ./parser/generate.sh",
3131
"build": "npm run generate && tsc && npm run lint-fix",
3232
"lint-fix": "prettier --write '**/*.ts'",
33-
"test": "npm run build && mocha --exit",
33+
"test": "mocha --exit",
34+
"build-and-test": "npm run build && mocha --exit",
3435
"publish-to-npm": "npm run build && npm run lint-fix && npm publish ./ --access public"
3536
},
3637
"dependencies": {

parser/generate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ antlr4 -Dlanguage=TypeScript -visitor -package parser parser/*.g4
99

1010
rm parser/*.g4
1111

12+
mkdir -p src/generated
1213
mv parser/*.ts src/generated
1314

1415
rm parser/*Circom*.*

0 commit comments

Comments
 (0)