Bläddra i källkod

Add eclipse usage

Sam Jaffe 8 år sedan
förälder
incheckning
b20513db54
1 ändrade filer med 16 tillägg och 7 borttagningar
  1. 16 7
      README.md

+ 16 - 7
README.md

@@ -12,18 +12,27 @@ This guide assumes the following:
 2. [Maven](https://maven.apache.org/download.cgi)
 
 ## Build Steps
+
+### Building using Maven
+#### Build
 1. Clone/Download this repository
 2. Open a command prompt in d20-charsheet
 3. Enter the command `mvn clean package`
 
-## Running
-From the d20-charsheet directory, run the below command for your OS.
-
-On Windows: `java -jar target\d20-charsheet.jar`  
-On OSX/Linux: `java -jar target/d20-charsheet.jar`
+#### Run  
+* From the d20-charsheet directory, run the below command for your OS.  
+    * On Windows: `java -jar target\d20-charsheet.jar`    
+    * On OSX/Linux: `java -jar target/d20-charsheet.jar`
 
 **Currently, this can only be run from the 'd20-charsheet' directory!**
 
-# Installing
+### Building using Eclipse
+#### Build
+1. Clone/Download this repository to a directory in your Eclipse workspace
+2. Go to `File > Import > Maven > Existing Maven Projects`
+3. Follow the prompts to import the project
+4. Go to `Run > Run Configurations` and press the white page icon (`New launch configuration`)
+5. Select `d20-charsheet` as the project, and `org.leumasjaffe.charsheet.Test` as the main class.
 
-Not Yet Supported
+#### Run  
+* Press the green arrow icon to `Run Test`