Skip to content

Commit

Permalink
Add missing to bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaby76 committed Aug 20, 2023
1 parent 863a231 commit f20c44f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
6 changes: 3 additions & 3 deletions _scripts/set-version.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/bash
version="0.21.1"
version="0.21.2"
cd src
directories=`find . -maxdepth 1 -type d -name "tr*"`
cwd=`pwd`
Expand Down Expand Up @@ -41,7 +41,7 @@ do
mv asdfasdf *.csproj
rm -f asdfasdf2
touch readme.md
cat readme.md | sed -e 's%^0[.][0-9]*[.][0-9]*.*$'"%$version"' Fixes to trgen for Cpp target. Update run.sh in templates.%' > asdfasdf2
cat readme.md | sed -e 's%^0[.][0-9]*[.][0-9]*.*$'"%$version"' Fix to trconvert for Bison. Add trquery. Fixes to trperf, trparse.%' > asdfasdf2
mv asdfasdf2 readme.md
cd ..
done
Expand Down Expand Up @@ -78,7 +78,7 @@ do
mv asdfasdf *.csproj
rm -f asdfasdf2
touch readme.md
cat readme.md | sed -e 's%^0[.][0-9]*[.][0-9]*.*$'"%$version"' Fixes to trgen for Cpp target. Update run.sh in templates.%' > asdfasdf2
cat readme.md | sed -e 's%^0[.][0-9]*[.][0-9]*.*$'"%$version"' Fix to trconvert for Bison. Add trquery. Fixes to trperf, trparse.%' > asdfasdf2
mv asdfasdf2 readme.md
cd ..
done
Expand Down
24 changes: 21 additions & 3 deletions src/trgen/templates/PHP/st.test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Generated from trgen <version>

# comment for local dotnet tools.
global=1

# People often specify a test file directory, but sometimes no
# tests are provided. Git won't check in an empty directory.
# Test if the test file directory does not exist, or it is just
Expand All @@ -24,7 +27,12 @@ files2=`find ../<example_files_unix> -type f | grep -v '.errors$' | grep -v '.tr
files=()
for f in $files2
do
dotnet triconv -- -f utf-8 $f > /dev/null 2>&1
if [ "$global" == "" ]
then
dotnet triconv -- -f utf-8 $f > /dev/null 2>&1
else
triconv -f utf-8 $f > /dev/null 2>&1
fi
if [ "$?" = "0" ]
then
files+=( $f )
Expand All @@ -37,7 +45,12 @@ done
rm -f parse.txt
for f in ${files[*]}
do
dotnet trwdog -- php -d memory_limit=1G Test.php -q -tee -tree $f >> parse.txt 2>&1
if [ "$global" == "" ]
then
dotnet trwdog -- php -d memory_limit=1G Test.php -q -tee -tree $f >> parse.txt 2>&1
else
trwdog php -d memory_limit=1G Test.php -q -tee -tree $f >> parse.txt 2>&1
fi
xxx="$?"
if [ "$xxx" -ne 0 ]
then
Expand All @@ -46,7 +59,12 @@ do
done
<else>
# Group parsing.
echo "${files[*]}" | dotnet trwdog -- php -d memory_limit=1G Test.php -q -x -tee -tree > parse.txt 2>&1
if [ "$global" == "" ]
then
echo "${files[*]}" | dotnet trwdog -- php -d memory_limit=1G Test.php -q -x -tee -tree > parse.txt 2>&1
else
echo "${files[*]}" | trwdog php -d memory_limit=1G Test.php -q -x -tee -tree > parse.txt 2>&1
fi
status=$?
<endif>

Expand Down
2 changes: 1 addition & 1 deletion src/trgroup/trgroup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This program is part of the Trash toolkit.]]>
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Version>0.21.1</Version>
<Version>0.21.2</Version>
<RepositoryUrl>https://github.com/kaby76/Domemtech.Trash/tree/main/src/trgroup</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
Expand Down

0 comments on commit f20c44f

Please sign in to comment.