Restructured the layout
This commit is contained in:
parent
721a467bf7
commit
d9b471fc50
Binary file not shown.
|
@ -8,8 +8,8 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
"./Common"
|
||||
"./ResourcePaths"
|
||||
"github.com/essial/OpenDiablo2/Common"
|
||||
"github.com/essial/OpenDiablo2/ResourcePaths"
|
||||
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
)
|
Binary file not shown.
10
README.md
10
README.md
|
@ -19,9 +19,15 @@ ALL OTHER TRADEMARKS ARE THE PROPERTY OF THEIR RESPECTIVE OWNERS.
|
|||
|
||||
## Building
|
||||
|
||||
In the root folder, run `go get -d ./src/App` to pull down all dependencies.
|
||||
To pull the project down, run `go get https://github.com/essial/OpenDiablo2`
|
||||
|
||||
To run the project, run `go run ./src/App` from the root project folder.
|
||||
On windows this folder will most likely be in `C:\\users\\(you)\\go\\src\\github.com\\essial\\OpenDiablo2`
|
||||
|
||||
In the root folder, run `go get -d` to pull down all dependencies.
|
||||
|
||||
To run the project, run `go run ./cmd/Client` from the root folder.
|
||||
|
||||
You can also open the root folder in VSCode. Make sure you have the `ms-vscode.go` plugin installed.
|
||||
|
||||
## Configuration
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package OpenDiablo2
|
||||
|
||||
import (
|
||||
"./ResourcePaths"
|
||||
"github.com/essial/OpenDiablo2/ResourcePaths"
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
)
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
go get ./src/App
|
||||
golangci-lint run ./src/App
|
||||
go build ./src/App
|
||||
go get
|
||||
golangci-lint run .
|
||||
go build ./cmd/Client
|
||||
|
|
|
@ -3,7 +3,7 @@ package main
|
|||
import (
|
||||
"log"
|
||||
|
||||
"../OpenDiablo2"
|
||||
"github.com/essial/OpenDiablo2"
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
)
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "auto",
|
||||
"program": "${workspaceFolder}/App",
|
||||
"env": {},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"go.lintFlags": [
|
||||
"--exclude=\"\bexported \\w+ (\\S*['.]*)([a-zA-Z'.*]*) should have comment or be unexported\b\""
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue