Implement FileCollector with concurrency and stress tests
This commit is contained in:
parent
d09fb340b7
commit
4c05fe8034
26 changed files with 1745 additions and 0 deletions
19
scripts/package.sh
Normal file
19
scripts/package.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
project_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
project_name="$(basename "$project_dir")"
|
||||
parent_dir="$(dirname "$project_dir")"
|
||||
archive_name="Владислав_Агибалов_С++.zip"
|
||||
|
||||
cd "$parent_dir"
|
||||
zip -r -FS "$archive_name" "$project_name" \
|
||||
-x "$project_name/.git/*" \
|
||||
"$project_name/build*/*" \
|
||||
"$project_name/.cache/*" \
|
||||
"$project_name/.DS_Store" \
|
||||
"$project_name/*.dSYM/*" \
|
||||
"$project_name/*.zip"
|
||||
|
||||
printf 'Архив: %s\n' "$parent_dir/$archive_name"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue