Skip to content

Commit a0cf837

Browse files
committed
Clean up before CxIAST run
1 parent afe8919 commit a0cf837

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

‎tools/CxIAST/runBenchmark_wCxIAST.bat‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
@ECHO OFF
22
IF EXIST .\cx-launcher.jar (
3+
IF EXIST .\iast_cache (
4+
rmdir /q /s .\iast_cache
5+
6+
IF EXIST .\logs (
7+
rmdir /q /s .\logs
8+
)
9+
10+
ECHO ""
11+
12+
ECHO Previous Checkmarx IAST results have been removed
13+
14+
ECHO ""
15+
)
316
CD ..\..
417

518
CALL mvn clean package cargo:run -Pdeploywcxiast

‎tools/CxIAST/runBenchmark_wCxIAST.sh‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22

33
if [ -f ./cx-launcher.jar ]; then
44

5-
if [ -d ./working ]; then
5+
if [ -d ./iast_cache ]; then
6+
7+
rm -r ./iast_cache
8+
9+
if [ -d ./logs ]; then
10+
11+
rm -r ./logs
12+
13+
fi
614

7-
rm -r ./working/cache
815
echo ""
916
echo "Previous Checkmarx IAST results in tools/CxIAST removed"
1017
echo ""

0 commit comments

Comments
 (0)