Updated readme. More CI stuff.

This commit is contained in:
Tim Sarbin 2019-11-02 14:58:03 -04:00
parent 267fe9b615
commit 8130aac0f6
2 changed files with 9 additions and 2 deletions

View File

@ -16,8 +16,6 @@ addons:
script:
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install 7zip.portable ; fi
- mkdir -p ./opendiablo2-$TRAVIS_TAG-$TRAVIS_OS_NAME
- rm -rf ./opendiablo2-$TRAVIS_TAG-$TRAVIS_OS_NAME
- mkdir -p ./opendiablo2-$TRAVIS_TAG-$TRAVIS_OS_NAME
- go get
- go build .
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then cp ./OpenDiablo2.exe ./opendiablo2-$TRAVIS_TAG-$TRAVIS_OS_NAME ; else cp ./OpenDiablo2 ./opendiablo2-$TRAVIS_TAG-$TRAVIS_OS_NAME; fi

View File

@ -31,6 +31,15 @@ To run the project, run `go run .` from the root folder.
You can also open the root folder in VSCode. Make sure you have the `ms-vscode.go` plugin installed.
## Contributing
The imports for this project utilize `github.com/essial/OpenDiablo2`. This means that even if you clone the repo, changes will not be taken as it will
still pull from the main repo's files. In order to use your local version, add the following to `go.mod` in the base folder:
```
replace github.com/essial/OpenDiablo2 => /your/forked/import/path
```
This will tell go to use your local path instead of the official repo. Be sure to exclude this change from your pull requests!
## VS Code Extensions
The following extensions are recommended for working with this project: