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

difftreelog

source

.maintain/scripts/generate_sol.sh391 Bsourcehistory
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