Skip to content

Commit

Permalink
find cosmetics, updated archive collector
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-aladev committed Dec 8, 2020
1 parent 5e06041 commit 877e8ae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion archive-collector
4 changes: 2 additions & 2 deletions scripts/coverage_toolchains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ while read -r toolchain; do
for dictionary in "linked-list" "sparse-array"; do
echo "toolchain: ${toolchain}, dictionary: ${dictionary}"

find . \( \
find . -depth \( \
-name "CMake*" \
-o -name "*.cmake" \
-o -name "*.gcov" \
-o -name "*.gcda" \
-o -name "*.gcno" \
\) -depth -exec rm -rf {} +
\) -exec rm -rf {} +

# Toolchain may not work on target platform.
cmake "../.." \
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cd "../build"

# Packing binaries.

find . \( -name "CMake*" -o -name "*.cmake" \) -depth -exec rm -rf {} +
find . -depth \( -name "CMake*" -o -name "*.cmake" \) -exec rm -rf {} +

for dictionary in "linked-list" "sparse-array"; do
cmake ".." \
Expand Down
8 changes: 4 additions & 4 deletions scripts/toolchains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ while read -r toolchain; do
COVERAGE_TOOLCHAIN=false
fi

find . \( \
find . -depth \( \
-name "CMake*" \
-o -name "*.cmake" \
\) -depth -exec rm -rf {} +
\) -exec rm -rf {} +

if [ "$COVERAGE_TOOLCHAIN" = true ]; then
find . \( \
find . -depth \( \
-name "*.gcov" \
-o -name "*.gcda" \
-o -name "*.gcno" \
\) -depth -exec rm -rf {} +
\) -exec rm -rf {} +
fi

# Toolchain may not work on target platform.
Expand Down

0 comments on commit 877e8ae

Please sign in to comment.