diff --git a/.travis.yml b/.travis.yml index 8217a4ef..ace5d1ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index cda42b05..3aa94e80 100644 --- a/README.md +++ b/README.md @@ -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: