2014-10-13 13:49:02 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-12-02 13:27:53 +00:00
|
|
|
./helper.pl --update-makefiles || exit 1
|
2014-10-13 13:49:02 +00:00
|
|
|
|
2018-12-02 17:28:59 +00:00
|
|
|
makefiles=(makefile makefile.shared makefile_include.mk makefile.msvc makefile.unix makefile.mingw)
|
2018-12-02 20:18:10 +00:00
|
|
|
vcproj=(libtommath_VS2008.vcproj)
|
2014-10-13 13:49:02 +00:00
|
|
|
|
2018-12-02 13:27:53 +00:00
|
|
|
if [ $# -eq 1 ] && [ "$1" == "-c" ]; then
|
|
|
|
git add ${makefiles[@]} ${vcproj[@]} && git commit -m 'Update makefiles'
|
|
|
|
fi
|
2014-10-13 13:49:02 +00:00
|
|
|
|
2018-12-02 13:27:53 +00:00
|
|
|
exit 0
|