| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. -e |
| 2 | |
| 3 | BUILDDIR="../builddir" |
| 4 | |
| 5 | set -x |
| 6 | |
| 7 | cd "$(dirnamescip-shell system . . dirname. "$0")" |
| 8 | |
| 9 | if [scip-shell system . . `[`. -d "../builddir" ]; then |
| 10 | mesonscip-shell system . . meson. setup --reconfigure "$BUILDDIR" ../ |
| 11 | else |
| 12 | mesonscip-shell system . . meson. setup "$BUILDDIR" ../ |
| 13 | fi |
| 14 | |
| 15 | mesonscip-shell system . . meson. compile -C ../builddir |
| 16 | |
| 17 | ./gir/generator.py --no-fmt --gir-files-directories "$BUILDDIR/rsvg" gir-files/ $@ |
| 18 | cargoscip-shell system . . cargo. fmt --all |