mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
17 lines
294 B
Bash
Executable file
17 lines
294 B
Bash
Executable file
#!/bin/sh
|
|
|
|
preprocess() {
|
|
ruby -r erb -e 'puts ERB.new(ARGF.read).result' $1.erb > $1.tmp
|
|
if [ "$?" != 0 ]; then
|
|
echo ""
|
|
echo "** preprocess failed **"
|
|
echo ""
|
|
else
|
|
mv $1.tmp $1
|
|
fi
|
|
}
|
|
|
|
preprocess msgpack/type/tuple.hpp
|
|
preprocess msgpack/type/define.hpp
|
|
preprocess msgpack/zone.hpp
|
|
|