simplify_static_dir/make-allinone.sh
Dan Church 4d4edd5e9d
Move library code to lib/
Fixes accidental inclusion of test instrumentation into the all-in-one
script.
2023-06-29 13:01:29 -05:00

13 lines
270 B
Bash
Executable file

#!/bin/bash
# vi: et sts=4 sw=4 ts=4
WORKDIR=${0%/*}
OUT=$WORKDIR/simplify_static_dir.pl
echo "Outputting to $OUT" >&2
shopt -s globstar
"$WORKDIR/util/squash" \
"$WORKDIR/simplify_static_dir-main.pl" \
"$WORKDIR"/lib/**/*.pm \
> "$OUT"
chmod +x -- "$OUT"