git.delta.rocks / unique-network / refs/commits / be1cd69da14c

difftreelog

fix remove artifacts

Trubnikov Sergey2022-09-13parent: #ec75937.patch.diff
in: master

1 file changed

modified.maintain/scripts/generate_sol.shdiffbeforeafterboth
before · .maintain/scripts/generate_sol.sh
1#!/bin/sh2set -eu34PRETTIER_CONFIG="$(pwd)""/.prettierrc"56tmp=$(mktemp)7cargo test --package $PACKAGE -- $NAME --exact --nocapture --ignored | tee $tmp8raw=$(mktemp --suffix .sol)9sed -n '/=== SNIP START ===/, /=== SNIP END ===/{ /=== SNIP START ===/! { /=== SNIP END ===/! p } }' $tmp > $raw1011formatted=$(mktemp)12echo $raw13echo $formatted14prettier --config $PRETTIER_CONFIG $raw > $formatted1516mv $formatted $OUTPUT
after · .maintain/scripts/generate_sol.sh
1#!/bin/sh2set -eu34PRETTIER_CONFIG="$(pwd)""/.prettierrc"56tmp=$(mktemp)7cargo test --package $PACKAGE -- $NAME --exact --nocapture --ignored | tee $tmp8raw=$(mktemp --suffix .sol)9sed -n '/=== SNIP START ===/, /=== SNIP END ===/{ /=== SNIP START ===/! { /=== SNIP END ===/! p } }' $tmp > $raw1011formatted=$(mktemp)12prettier --config $PRETTIER_CONFIG $raw > $formatted1314mv $formatted $OUTPUT