Skip to content

Commit ae37632

Browse files
committed
#356: Update default Phino version and simplify rewriting process.
1 parent 20e8918 commit ae37632

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.0.40
1+
0.0.0.43

src/main/resources/org/eolang/hone/scaffolding/normalize.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function rewrite {
4545
echo "No grep-in match for ${idx} $(basename "${xi}") ($(du -sh "${xi}" | cut -f1)), skipping"
4646
return
4747
fi
48-
phino rewrite "${phinopts[@]}" --input=xmir --sweet --nothing "${xi}" > "${phi}"
48+
phino rewrite "${phinopts[@]}" --input=xmir --sweet "${xi}" > "${phi}"
4949
verbose "Converted ${idx} XMIR ($(du -sh "${xi}" | cut -f1)) to $(basename "${phi}") ($(du -sh "${phi}" | cut -f1))"
5050
rm -f "${pho}.*"
5151
pos=0
@@ -80,7 +80,7 @@ function rewrite {
8080
else
8181
echo "Modified ${idx} $(basename "${phi}") (${s_size}): $(diff "${phi}" "${pho}" | grep -cE '^[><]')/${s_lines} lines changed, ${per} lps"
8282
fi
83-
phino rewrite "${phinopts[@]}" --nothing --output=xmir --omit-listing --omit-comments "${pho}" > "${xo}"
83+
phino rewrite "${phinopts[@]}" --output=xmir --omit-listing --omit-comments "${pho}" > "${xo}"
8484
verbose "Converted PHI to ${idx} $(basename "${xo}") ($(du -sh "${xo}" | cut -f1))"
8585
if cmp -s "${xi}" "${xo}"; then
8686
verbose "No changes made to ${idx} $(basename "${xi}")"

0 commit comments

Comments
 (0)