Skip to content

Commit

Permalink
Add 'pull' target to the Makefile
Browse files Browse the repository at this point in the history
This should make it easier to obtain the analyzed repositories
(addresses #2).
  • Loading branch information
mskamp committed Jan 30, 2020
1 parent 0f508bd commit e0ea544
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ respectively. For the confidence rating, `0`, `1`, and `2` correspond to *low*,

The database containing the mined methods, their JavaDoc comments and the
computed similarity values is not included in this repository. Use the Zenodo
link above to retrieve it.
link above to retrieve it. To obtain the source code of the analyzed
repositories, invoke `make pull` in the `src` directory.
4 changes: 3 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all simopt crossopt clean distclean
.PHONY: all pull simopt crossopt clean distclean

###################
# GENERAL TARGETS #
Expand All @@ -14,6 +14,8 @@ all: repos/checked_out \
sampled.csv \
html_out

pull: repos/checked_out

simopt: repos/checked_out_simopt docgen/build/libs/docgen-all.jar bin/activate
rm -f docs.db
java -cp docgen/build/libs/docgen-all.jar -Dfilter=false -Dthreshold=8 DocGen repos/checkstyle \
Expand Down

0 comments on commit e0ea544

Please sign in to comment.