Skip to content

Commit

Permalink
#85 jobs into /temp
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 2, 2023
1 parent 12c8a78 commit 4902041
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion filters/04-delete-unparseable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi
mkdir -p "$(dirname "${list}")"
touch "${list}"

jobs=${TARGET}/jobs/delete-unparseable.txt
jobs=${temp}/jobs/delete-unparseable.txt
rm -rf "${jobs}"
mkdir -p "$(dirname "${jobs}")"
touch "${jobs}"
Expand Down
2 changes: 1 addition & 1 deletion filters/06-delete-non-classes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi
mkdir -p "$(dirname "${list}")"
touch "${list}"

jobs=${TARGET}/jobs/delete-non-classes.txt
jobs=${temp}/jobs/delete-non-classes.txt
rm -rf "${jobs}"
mkdir -p "$(dirname "${jobs}")"
touch "${jobs}"
Expand Down
2 changes: 1 addition & 1 deletion filters/07-delete-invalid-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi
mkdir -p "$(dirname "${list}")"
touch "${list}"

jobs=${TARGET}/jobs/delete-invalid-files.txt
jobs=${temp}/jobs/delete-invalid-files.txt
rm -rf "${jobs}"
mkdir -p "$(dirname "${jobs}")"
touch "${jobs}"
Expand Down
4 changes: 2 additions & 2 deletions steps/aggregate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ echo "All $(echo "${all}" | wc -w | xargs) metrics (in alphanumeric order): ${al
repos=$(find "${TARGET}/measurements" -maxdepth 2 -mindepth 2 -type d -exec realpath --relative-to="${TARGET}/measurements" {} \;)
total=$(echo "${repos}" | wc -l | xargs)

jobs=${TARGET}/jobs/aggregate-jobs.txt
jobs=${TARGET}/temp/jobs/aggregate-jobs.txt
rm -rf "${jobs}"
mkdir -p "$(dirname "${jobs}")"
touch "${jobs}"
Expand All @@ -53,7 +53,7 @@ echo "${all}" | while IFS= read -r a; do
done
printf "\n" >> "${TARGET}/data/all.csv"

jobs=${TARGET}/jobs/aggregate-join-jobs.txt
jobs=${TARGET}/temp/jobs/aggregate-join-jobs.txt
rm -rf "${jobs}"
mkdir -p "$(dirname "${jobs}")"
touch "${jobs}"
Expand Down
2 changes: 1 addition & 1 deletion steps/clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set -o pipefail

start=$(date +%s%N)

jobs=${TARGET}/jobs/clone-jobs.txt
jobs=${TARGET}/temp/jobs/clone-jobs.txt
rm -rf "${jobs}"
mkdir -p "$(dirname "${jobs}")"
touch "${jobs}"
Expand Down
2 changes: 1 addition & 1 deletion steps/jpeek.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set -o pipefail

start=$(date +%s%N)

jobs=${TARGET}/jobs/jpeek-jobs.txt
jobs=${TARGET}/temp/jobs/jpeek-jobs.txt
rm -rf "${jobs}"
mkdir -p "$(dirname "${jobs}")"
touch "${jobs}"
Expand Down
2 changes: 1 addition & 1 deletion steps/measure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ javas=$(find "${TARGET}/github" -name '*.java' -print)
total=$(echo "${javas}" | wc -l | xargs)
echo "Found ${total} Java files, starting to collect metrics..."

jobs=${TARGET}/jobs/measure-jobs.txt
jobs=${TARGET}/temp/jobs/measure-jobs.txt
rm -rf "${jobs}"
mkdir -p "$(dirname "${jobs}")"
touch "${jobs}"
Expand Down

0 comments on commit 4902041

Please sign in to comment.