[go: up one dir, main page]

libffi 0.4.1

Rust bindings for libffi
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

PROJ_ROOT="$(dirname "$0")/.."
VERSION_FILE="$PROJ_ROOT"/.VERSION
VERSION=$(cat "$VERSION_FILE")

find process -type f | sed -E 's@process/@@;/(^|\/)\./d' |
while read file; do
    echo "Preprocessing: $file"
    rm -f "$file"
    sed "s/@VERSION@/$VERSION/" "process/$file" > "$file"
    chmod a-w "$file"
    git add "$file"
done