mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-21 15:10:01 +01:00
cpp: preprocess.sh: more verbose
This commit is contained in:
parent
d0b76814b0
commit
c8ad32a39e
@ -1,8 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
preprocess() {
|
preprocess() {
|
||||||
erb $1.erb > $1.tmp
|
ruby -r erb -e 'puts ERB.new(ARGF.read).result' $1.erb > $1.tmp
|
||||||
mv $1.tmp $1
|
if [ "$?" != 0 ]; then
|
||||||
|
echo ""
|
||||||
|
echo "** preprocess failed **"
|
||||||
|
echo ""
|
||||||
|
else
|
||||||
|
mv $1.tmp $1
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
preprocess msgpack/type/tuple.hpp
|
preprocess msgpack/type/tuple.hpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user