File tree Expand file tree Collapse file tree 3 files changed +11
-72
lines changed Expand file tree Collapse file tree 3 files changed +11
-72
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,9 @@ There is also a basic spring application that allow you to view the BrAPI Specif
8
8
1 . Download the Command Line Interface (CLI) from the
9
9
[ Releases] ( https://github.com/plantbreeding/brapi-schema-tools/releases ) page
10
10
2 . Run the application on your terminal
11
- * In windows
12
11
13
- ``` powershell
14
- brapi
15
12
```
16
-
17
- * In Linux or macOS
18
-
19
- ```shell
20
- brapi
13
+ brapi
21
14
```
22
15
23
16
## For developers
Original file line number Diff line number Diff line change @@ -8,29 +8,21 @@ Depends on only the [core](../core/README.md) module.
8
8
9
9
Use Gradle to create and install the CLI in one command
10
10
11
- In windows
12
-
13
- ``` powershell
14
- ./gradlew cli:installDist \path\to\installation\directory
15
11
```
16
-
17
- In Linux or macOS
18
-
19
- ``` shell
20
- ./gradle cli:installDist /path/to/installation/directory
12
+ ./gradlew cli:installDist \path\to\installation\directory
21
13
```
22
14
23
15
Alternatively you can create a Zip or Tar achieve of the CLI including runtime libraries and OS specific scripts.
24
16
25
- In windows
17
+ For a Zip file
26
18
27
- ``` powershell
19
+ ```
28
20
./gradlew cli:distZip
29
21
```
30
22
31
- In Linux or macOS
23
+ For a Tar file
32
24
33
- ``` shell
25
+ ```
34
26
./gradle cli:distTar
35
27
```
36
28
@@ -40,16 +32,8 @@ This will create the zip or tar archive in the cli/build/distributions directory
40
32
41
33
To create an Executable JAR use the Gradle command:
42
34
43
- In windows
44
-
45
- ``` powershell
46
- ./gradlew cli:jar
47
35
```
48
-
49
- In Linux or macOS
50
-
51
- ``` shell
52
- ./gradle cli:jar
36
+ ./gradlew cli:jar
53
37
```
54
38
55
39
This will create the executable JAR in the cli/build/libs directory
@@ -70,16 +54,8 @@ docker build .
70
54
When you have access to the source code repository and while developing new features this is
71
55
the quickest way to run the Command Line Interface. Use the Gradle command:
72
56
73
- In windows
74
-
75
- ``` shell
76
- ./gradlew cli:run --args=" -h"
77
57
```
78
-
79
- In Linux or macOS
80
-
81
- ``` shell
82
- ./gradle cli:run --args=" -h"
58
+ ./gradlew cli:run --args="-h"
83
59
```
84
60
85
61
Remember to replace the '-h' arguments with your required options. The '-h' option will give you a list of the available
Original file line number Diff line number Diff line change @@ -4,58 +4,28 @@ Core Java classes for parsing the BrAPI Schema
4
4
5
5
Use gradle to build, test and publish
6
6
7
- ## In windows
8
-
9
7
To make a clean build use
10
8
11
- ``` powershell
12
- ./gradlew clean build
13
- ```
14
-
15
- To make a clean build and test use
16
-
17
- ``` powershell
18
- ./gradlew clean test
19
- ```
20
-
21
- To make a clean build and publish locally use
22
-
23
- ``` powershell
24
- ./gradlew clean publishToMavenLcoal
25
- ```
26
-
27
- To make a clean build and release, you will need some secrets.
28
- It is not recommend to this from here,
29
- let the CI on GitHub handle this.
30
-
31
- ``` powershell
32
- ./gradlew clean test publish
33
9
```
34
-
35
- ## In Linux or MacOS
36
-
37
- To make a clean build use
38
-
39
- ``` shell
40
10
./gradlew clean build
41
11
```
42
12
43
13
To make a clean build and test use
44
14
45
- ``` shell
15
+ ```
46
16
./gradlew clean test
47
17
```
48
18
49
19
To make a clean build and publish locally use
50
20
51
- ``` shell
21
+ ```
52
22
./gradlew clean publishToMavenLcoal
53
23
```
54
24
55
25
To make a clean build and release, you will need some secrets.
56
26
It is not recommend to this from here,
57
27
let the CI on GitHub handle this.
58
28
59
- ``` shell
29
+ ```
60
30
./gradlew clean test publish
61
31
```
You can’t perform that action at this time.
0 commit comments