Skip to content

Commit

Permalink
add metadata file
Browse files Browse the repository at this point in the history
  • Loading branch information
krlosMata committed Jan 20, 2023
1 parent 0b2d675 commit e3a4548
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "zkROM source code",
"main": "index.js",
"scripts": {
"build": "mkdir -p build && npx zkasm main/main.zkasm -o build/rom.json",
"build": "mkdir -p build && npx zkasm main/main.zkasm -o build/rom.json && npm run build:metadata",
"build:metadata": "echo \"COMMIT=$(git rev-parse HEAD)\nMD5SUM=$(md5sum ./build/rom.json)\" > build/metadata-rom.txt",
"test:bitwise": "mkdir -p build && npx zkasm test/bitwise.zkasm -o build/rom-bitwise.test.json",
"test:comp": "mkdir -p build && npx zkasm test/comp.zkasm -o build/rom-comp.test.json",
"test:utils": "mkdir -p build && npx zkasm test/utils-getLenBytes.zkasm -o build/rom-utils.test.json",
Expand Down

0 comments on commit e3a4548

Please sign in to comment.