From e0ea5444584745bfdd71a9180b552b5355cd67eb Mon Sep 17 00:00:00 2001 From: Marius Kamp Date: Thu, 30 Jan 2020 06:24:12 +0100 Subject: [PATCH] Add 'pull' target to the Makefile This should make it easier to obtain the analyzed repositories (addresses #2). --- README.md | 3 ++- src/Makefile | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71f1c4e..077eb4f 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/Makefile b/src/Makefile index 13e33a7..f548f15 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,4 @@ -.PHONY: all simopt crossopt clean distclean +.PHONY: all pull simopt crossopt clean distclean ################### # GENERAL TARGETS # @@ -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 \