bug-2022: added setup instructions
This commit is contained in:
parent
0ee4bb302b
commit
5d83dd771b
2 changed files with 23 additions and 0 deletions
3
bug-2022/.gitignore
vendored
Normal file
3
bug-2022/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
defects4j/
|
||||
sources/
|
||||
|
20
bug-2022/README.md
Normal file
20
bug-2022/README.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# IMA - Bug prediction project
|
||||
|
||||
## Setup
|
||||
|
||||
The following dependencies are required to run `defects4j`:
|
||||
|
||||
```shell
|
||||
brew install git svn perl wget cpanminus
|
||||
```
|
||||
|
||||
To install `defects4j` and checkout the required project for analysis run:
|
||||
|
||||
```shell
|
||||
mkdir -p sources
|
||||
git clone https://github.com/rjust/defects4j
|
||||
cd defects4j
|
||||
cpanm --installdeps .
|
||||
./init.sh
|
||||
./framework/bin/defects4j checkout -p Closure -v 1f -w ../sources/
|
||||
```
|
Reference in a new issue