oxipng/scripts/manual.sh
Alejandro González 34fba57011
Use standard POSIX shell for manual generation script
No bashisms are needed here, so target portability accross Unix systems.
2024-11-23 13:43:18 +01:00

7 lines
253 B
Bash
Executable file

#!/bin/sh -eu
cargo build
cargo xstask mangen
./target/debug/oxipng -V > MANUAL.txt
#Redirect all streams to prevent detection of the terminal width and force an internal default of 100
./target/debug/oxipng --help >> MANUAL.txt 2>/dev/null </dev/null