Skip to content

Commit

Permalink
exit at first error
Browse files Browse the repository at this point in the history
  • Loading branch information
clarus committed May 21, 2024
1 parent b3038ec commit a22206a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
endGroup
startGroup "Translate the Python code to Coq"
cd ethereum-execution-specs/src
find ethereum -name "*.py" -exec python ../../main.py {} \; -quit
find ethereum -name "*.py" -print0 | xargs -0 -n 1 python ../../main.py
cd ../..
endGroup
startGroup "Make sure there no differences"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ git submodule update --init --recursive
as there are sub-modules. Then go in the `ethereum-execution-specs/src` folder and run:

```sh
find ethereum -name "*.py" -exec python ../../main.py {} \;
find ethereum -name "*.py" -print0 | xargs -0 -n 1 python ../../main.py
```

This will translate each file of the Ethereum specification to Coq and put the result in the `CoqOfPython/ethereum` folder.
Expand Down

0 comments on commit a22206a

Please sign in to comment.