Skip to content

Commit

Permalink
Merge pull request #145 from morpho-org/certora/extended-re
Browse files Browse the repository at this point in the history
Use only POSIX compliant sed features
  • Loading branch information
MathisGD authored Dec 22, 2024
2 parents 83cd9af + 62f223f commit 2c77a37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions certora/makefile → certora/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ munged-simple: $(wildcard ../src/*.sol) applyHarnessSimple.patch
@patch -p0 -d munged-simple < applyHarnessSimple.patch

record-simple:
diff -ruN ../src munged-simple | sed 's,\.\./src/\|munged-simple/,,g' | sed 's,\(\(\-\-\-\|+++\) [^[:space:]]*\).*,\1,' > applyHarnessSimple.patch
diff -ruN ../src munged-simple | sed -E 's,\.\./src/|munged-simple/,,g' | sed -E 's,((\-\-\-|\+\+\+) [^[:space:]]*).*,\1,' > applyHarnessSimple.patch

munged-fifo: $(wildcard ../src/*.sol) applyHarnessFifo.patch
@rm -rf munged-fifo
@cp -r ../src munged-fifo
@patch -p0 -d munged-fifo < applyHarnessFifo.patch

record-fifo:
diff -ruN ../src munged-fifo | sed 's,\.\./src/\|munged-fifo/,,g' | sed 's,\(\(\-\-\-\|+++\) [^[:space:]]*\).*,\1,' > applyHarnessFifo.patch
diff -ruN ../src munged-fifo | sed -E 's,\.\./src/|munged-fifo/,,g' | sed -E 's,((\-\-\-|\+\+\+) [^[:space:]]*).*,\1,' > applyHarnessFifo.patch

clean:
rm -rf munged-simple munged-fifo
Expand Down

0 comments on commit 2c77a37

Please sign in to comment.