File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ if [ -d "$DIR" ]; then
99 echo " Parser SOURCE_COMMIT"
1010 echo " SOURCE_COMMIT: $SOURCE_COMMIT "
1111 sleep 1
12+ rm -rf build/
1213 npx peggy --cache -o ./build/parser.js ./solidity.pegjs
1314 npx peggy -o ./build/imports_parser.js ./imports.pegjs
1415 echo " Geneated parser successfully"
Original file line number Diff line number Diff line change 2727 "prettier" : " ^2.3.2"
2828 },
2929 "scripts" : {
30- "build" : " sh entrypoint.sh" ,
31- "ci" : " rm -rf build/ && sh entrypoint.sh && npx nyc --reporter=lcov npm test && npx codecov" ,
30+ "build" : " npx peggy --cache -o ./build/parser.js ./solidity.pegjs" ,
31+ "compile" : " npx peggy -o ./build/imports_parser.js ./imports.pegjs" ,
32+ "ci" : " ./entrypoint.sh && npx nyc --reporter=lcov npm test && npx codecov" ,
3233 "lint" : " npx eslint ." ,
3334 "run" : " npm run build" ,
3435 "test" : " npx mocha --timeout 5000 --reporter spec"
You can’t perform that action at this time.
0 commit comments