File: generate_json.sh

package info (click to toggle)
rust-fontconfig-parser 0.5.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 564 kB
  • sloc: sh: 5; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 265 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Usage: ./test-conf/generate_json.sh

cargo build --all-features --release --example parse_dump_json

for f in ./test-conf/**/*.conf; do
    echo "Processing $f file..."

    ./target/release/examples/parse_dump_json $f | jq > $f.json
done