New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility/feature upgrades for playtest-20201213. #170
Conversation
0df9964
to
8e1e9d8
Compare
9cbfc83
to
77726f6
Compare
Test builds: https://github.com/pchote/OpenRAModSDK/releases/tag/devtest-20201205 This PR should now hopefully be complete, but I will keep it as a draft until the upstream PRs have been merged. |
9de6ce9
to
073daba
Compare
Thanks for the thorough review! Updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I verified these work on @OpenHV.
I have discovered a couple of small omissions here while working on the next stage (.NET5 compatibility). I will push fixes later.
|
0df8d26
to
3b2c46d
Compare
Fixed. |
3b2c46d
to
8466332
Compare
8466332
to
bfd7104
Compare
Updated. make.ps1 now chains to the engine's check command and ported the fix from OpenRA/OpenRA#18963. |
make.ps1
Outdated
# Run the same command on the engine's make file | ||
if ($command -eq "all" -or $command -eq "clean" -or $command -eq "check") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look correct. If the engine exists and we take at line 319 we'll run the command twice, won't we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I honestly don't remember even making this change, so I can't explain my motivation for doing this. I assume this is trying to work around a bug.
Why are we only fetching the engine only on all or clean to begin with? Surely we should always be checking for and fetching the engine, and then the individual *-Command
s should be forcing a recompile if required, like the main makefile does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to remove this change.
I think this was trying to work around the error messages from rm
when you try to clean an already clean build. I have instead changed the SDK make.ps1 to use Remove-Item -ErrorAction Ignore
, and filed OpenRA/OpenRA#19085 to make the same fix in the engine.
bfd7104
to
58103b4
Compare
58103b4
to
3d4f588
Compare
Added a new commit to remove the windows docs target. |
ed419fc
to
7c0a637
Compare
* Remove obsolete entries * Add .idea (JetBrains Rider cache)
Added another new commit as discussed on IRC to update the .gitignore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm now.
Brings compatibility up to current bleed. Keeping as a draft until upstream changes have been completed and we have an engine tag available.