0 Star 0 Fork 0

沐风/msgpack-c

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
preprocess 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
preprocess() {
echo $1
ruby -r erb -e 'puts ERB.new(ARGF.read).result' $1.erb > $1.tmp
if [ "$?" != 0 ]; then
echo ""
echo "** preprocess failed **"
echo ""
exit 1
else
mv $1.tmp $2
fi
}
preprocess erb/v1/cpp03_msgpack_tuple_decl.hpp include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp
preprocess erb/v1/cpp03_msgpack_tuple.hpp include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp
preprocess erb/v1/cpp03_define_array_decl.hpp include/msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp
preprocess erb/v1/cpp03_define_array.hpp include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp
preprocess erb/v1/cpp03_define_map_decl.hpp include/msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp
preprocess erb/v1/cpp03_define_map.hpp include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp
preprocess erb/v1/cpp03_zone_decl.hpp include/msgpack/v1/detail/cpp03_zone_decl.hpp
preprocess erb/v1/cpp03_zone.hpp include/msgpack/v1/detail/cpp03_zone.hpp
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/feng_shaoxia/msgpack-c.git
git@gitee.com:feng_shaoxia/msgpack-c.git
feng_shaoxia
msgpack-c
msgpack-c
master

搜索帮助