Skip to content

Commit 2b5bac6

Browse files
author
gdy
committed
Tests, documentation update
1 parent 96209fb commit 2b5bac6

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ Features:
3535
}
3636

3737
dependencies {
38+
// versioning: master-SNAPSHOT (lastest build, unstable), + (lastest release, stable) or certain version (e.g. 1.0)
3839
compile 'com.github.ProjectKaiser:pk-vcs-git:master-SNAPSHOT'
3940
}
4041
```
42+
Or download release jars from https://github.com/ProjectKaiser/pk-vcs-api/releases
4143
- Create Workspace Home instance providing path to any folder as Workspace Home folder path. This folder will contain repositories folders (if different vcs or repositories are used)
4244
```java
4345
public static final String WORKSPACE_DIR = System.getProperty("java.io.tmpdir") + "git-workspaces";

src/test/java/com/projectkaiser/scm/vcs/GitVCSTest.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ public void setUp() throws Exception {
8383

8484
@After
8585
public void tearDown() {
86-
try {
87-
gitHubRepo.delete();
88-
} catch (IOException e) {
89-
// do not affect the test
86+
if (gitHubRepo != null) {
87+
try {
88+
gitHubRepo.delete();
89+
} catch (IOException e) {
90+
// do not affect the test
91+
}
9092
}
9193
}
9294

0 commit comments

Comments
 (0)