Make setup instructions more clear

This commit is contained in:
Bella Who 2020-02-17 17:42:05 -05:00 committed by GitHub
parent 01ba712d33
commit 80955cad8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 10 deletions

View File

@ -47,6 +47,8 @@ You can verify whether or not it worked by running `.b version` in chat (only va
## Command Line ## Command Line
On Mac OSX and Linux, use `./gradlew` instead of `gradlew`. On Mac OSX and Linux, use `./gradlew` instead of `gradlew`.
If you have errors with a package missing please make sure you have setup your environment, and are using Oracle JDK 8.
Setting up the Environment: Setting up the Environment:
``` ```
@ -54,6 +56,12 @@ $ gradlew setupDecompWorkspace
$ gradlew --refresh-dependencies $ gradlew --refresh-dependencies
``` ```
Building Baritone:
```
$ gradlew build
```
Running Baritone: Running Baritone:
``` ```
@ -87,16 +95,6 @@ For information on how to build baritone, see [Building Baritone](#building-bari
![Image](https://i.imgur.com/hrLhG9u.png) ![Image](https://i.imgur.com/hrLhG9u.png)
# Building
Make sure that you have properly [setup](#setup) the environment before trying to build it.
## Command Line
```
$ gradlew build
```
## IntelliJ ## IntelliJ
- Navigate to the gradle tasks on the right tab as follows - Navigate to the gradle tasks on the right tab as follows