Update TinySTL (attempt 2). (#341)

This commit is contained in:
Martijn Courteaux
2025-01-30 05:38:06 +01:00
committed by GitHub
parent 01c99ddd09
commit 73966ef218
17 changed files with 1220 additions and 269 deletions

16
scripts/update_tinystl.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash -eux
if [ $# != 1 ]; then
echo "Usage: $0 <tinystl-upstream-folder>"
exit 1
fi
SRC_DIR=$1
DST_DIR="include/tinystl"
pushd $(dirname $0)/..
cp $SRC_DIR/include/TINYSTL/*.h $DST_DIR/
find $DST_DIR -iname "*.h" -exec sed --in-place 's/<TINYSTL\//<tinystl\//g' {} \;
popd