mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
auto update of scripts/bootstrapit_update.sh
This commit is contained in:
parent
8439d4290a
commit
65791ff26a
1 changed files with 16 additions and 4 deletions
|
|
@ -75,6 +75,20 @@ if [[ -f "makefile.extra.make" && -f "makefile.config.make" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# One time update of makefile capitalization
|
||||
if [[ -f "makefile" && -f "makefile.bootstrapit.make" ]]; then
|
||||
printf "Change capitalization of makefile -> Makefile # because too many rustled jimmies\n\n"
|
||||
printf " mv makefile Makefile\n"
|
||||
printf " mv makefile.bootstrapit.make Makefile.bootstrapit.make\n"
|
||||
sed -i 's/include makefile.bootstrapit.make/include Makefile.bootstrapit.make/g' makefile
|
||||
git add makefile
|
||||
git mv makefile Makefile;
|
||||
git mv makefile.bootstrapit.make Makefile.bootstrapit.make;
|
||||
|
||||
printf "Please commit the renamed files and run bootstrapit_update.sh again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Argument parsing from
|
||||
# https://stackoverflow.com/a/14203146/62997
|
||||
UPDATE_ALL=0
|
||||
|
|
@ -346,9 +360,7 @@ elif [[ -z "${IGNORE_IF_EXISTS[*]}" ]]; then
|
|||
"CHANGELOG.md"
|
||||
"README.md"
|
||||
"setup.py"
|
||||
"makefile"
|
||||
"requirements/pypi.txt"
|
||||
"requirements/development.txt"
|
||||
"requirements/conda.txt"
|
||||
"requirements/vendor.txt"
|
||||
"src/${MODULE_NAME}/__init__.py"
|
||||
|
|
@ -398,8 +410,8 @@ copy_template MANIFEST.in;
|
|||
copy_template setup.py;
|
||||
copy_template setup.cfg;
|
||||
|
||||
copy_template makefile;
|
||||
copy_template makefile.bootstrapit.make;
|
||||
copy_template Makefile;
|
||||
copy_template Makefile.bootstrapit.make;
|
||||
copy_template activate;
|
||||
copy_template docker_base.Dockerfile;
|
||||
copy_template Dockerfile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue