mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-07 00:56:51 -05:00
Updated readme. More CI stuff.
This commit is contained in:
parent
267fe9b615
commit
8130aac0f6
@ -16,8 +16,6 @@ addons:
|
|||||||
script:
|
script:
|
||||||
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install 7zip.portable ; fi
|
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install 7zip.portable ; fi
|
||||||
- mkdir -p ./opendiablo2-$TRAVIS_TAG-$TRAVIS_OS_NAME
|
- 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 get
|
||||||
- go build .
|
- 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
|
- 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
|
||||||
|
@ -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.
|
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
|
## VS Code Extensions
|
||||||
|
|
||||||
The following extensions are recommended for working with this project:
|
The following extensions are recommended for working with this project:
|
||||||
|
Loading…
Reference in New Issue
Block a user