brace-expander 0.0.2

Brace expansion library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
# Updates README.md using the crate-level documentation in `lib.rs`
set -e

main() {
    # Rewind back to crate root
    while ! stat Cargo.toml > /dev/null; do
        cd ..
    done

    echo -e "# brace-expander\n" > README.md
    sed -n 's/^\/\/!//gp' src/lib.rs | sed 's/^ //g' >> README.md
}

main