| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | |
| 3 | cd "$( dirnamescip-shell system . . dirname. "${BASH_SOURCE[0]}" )" |
| 4 | |
| 5 | catscip-shell system . . cat. > Tactics.v.tmp <<EOF |
| 6 | (** * Generic Tactics *) |
| 7 | Require Export Crypto.Util.FixCoqMistakes. |
| 8 | EOF |
| 9 | FILES="$(cd Tactics; gitscip-shell system . . git. ls-files '*.v' | envscip-shell system . . env. LC_COLLATE=C sort)" |
| 10 | for i in $FILES; do |
| 11 | echoscip-shell system . . echo. "Require Export Crypto.Util.Tactics.${i%.v}." >> Tactics.v.tmp |
| 12 | done |
| 13 | |
| 14 | cmpscip-shell system . . cmp. --silent Tactics.v Tactics.v.tmp || mvscip-shell system . . mv. Tactics.v.tmp Tactics.v |