You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,22 @@ The dashj library is a Java implementation of the Dash protocol, which allows it
20
20
To get started, it is best to have the latest JDK and Maven installed. The HEAD of the `master` branch contains the latest development code and various production releases are provided on feature branches.
21
21
22
22
#### Building from the command line
23
-
24
-
To perform a full build use
23
+
To initialize the repo after cloning it:
24
+
```
25
+
git submodule update --init --recursive
26
+
```
27
+
To perform a full build use (this includes the dashjbls shared library):
25
28
```
26
29
mvn clean package
27
30
```
31
+
To perform a full build without building the bls shared library and skip the test:
32
+
```
33
+
mvn clean package -Pno-build-bls -DskipTests
34
+
```
35
+
To perform a full build and install it in the local maven repository:
36
+
```
37
+
mvn clean install
38
+
```
28
39
You can also run
29
40
```
30
41
mvn site:site
@@ -37,6 +48,8 @@ The outputs are under the `target` directory.
37
48
38
49
Alternatively, just import the project using your IDE. [IntelliJ](http://www.jetbrains.com/idea/download/) has Maven integration built-in and has a free Community Edition. Simply use `File | Import Project` and locate the `pom.xml` in the root of the cloned project source tree.
39
50
51
+
The dashjbls library must still be built with `mvn`.
Copy file name to clipboardExpand all lines: bls/README.md
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
1
# dashj-bls
2
-
DashJ Wrapper for bls-signatures
2
+
DashJ-BLS is a wrapper for bls-signatures that requires a shared library called dashjbls.
3
3
4
-
Building the Java Wrapper:
5
-
6
-
It builds automatically on Linux. On Windows Cmake (https://cmake.org/download/) and MinGW must be installed (http://mingw-w64.org/doku.php/download/mingw-builds)
4
+
This library builds automatically on Linux with `mvn`. On Windows, Cmake (https://cmake.org/download/) and MinGW must be installed (http://mingw-w64.org/doku.php/download/mingw-builds)
7
5
6
+
To initialize the repo after cloning it:
7
+
```
8
+
git submodule update --init --recursive
9
+
```
8
10
##Windows (building through maven)
9
11
1. Install MinGW
10
12
2.`mvn clean install` from a windows command prompt
@@ -14,7 +16,7 @@ It builds automatically on Linux. On Windows Cmake (https://cmake.org/download/
14
16
2. Use the CMake GUI to configure and generate the build folder
15
17
3.`cmake --build . -- -j 6` from the build folder using the Git Bash Shell
0 commit comments