Skip to content

Commit 524bc36

Browse files
authored
Merge pull request #26 from bybatkhuu/develop
🔨 Updated scripts.
2 parents a7c6426 + e8ad702 commit 524bc36

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ main()
4343
-c | --disable-clean)
4444
_IS_CLEAN=false
4545
shift;;
46-
-t | --disable-test)
46+
-t | --test)
4747
_IS_TEST=true
4848
shift;;
4949
-u | --upload)

scripts/clean.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ main()
4444
find . -type f -name ".DS_Store" -print -delete || exit 2
4545
find . -type f -name ".Thumbs.db" -print -delete || exit 2
4646
find . -type f -name ".coverage*" -print -delete || exit 2
47+
4748
find . -type d -name "__pycache__" -exec rm -rfv {} + || exit 2
4849
find . -type d -name ".benchmarks" -exec rm -rfv {} + || exit 2
4950
find . -type d -name ".pytest_cache" -exec rm -rfv {} + || exit 2
5051

5152
find . -type d -name ".git" -prune -o -type d -name "logs" -exec rm -rfv {} + || exit 2
5253

53-
rm -rfv build || exit 2
54-
rm -rfv dist || exit 2
55-
5654
if [ "${_IS_ALL}" == true ]; then
55+
rm -rfv ./build || exit 2
56+
rm -rfv ./dist || exit 2
5757
rm -rfv ./*.egg-info || exit 2
5858
fi
5959

0 commit comments

Comments
 (0)