Merge pull request #7910 from obrakmann/make-docs-with-version
Set version before creating docs
This commit is contained in:
2
Makefile
2
Makefile
@@ -309,7 +309,7 @@ version: mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml mods/modchooser/mo
|
||||
done
|
||||
|
||||
# Documentation (d2k depends on all mod libraries)
|
||||
docs: utility mods
|
||||
docs: utility mods version
|
||||
@mono --debug OpenRA.Utility.exe d2k --docs > DOCUMENTATION.md
|
||||
@mono --debug OpenRA.Utility.exe ra --lua-docs > Lua-API.md
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ test_script:
|
||||
- nunit-console-x86.exe OpenRA.Test.dll
|
||||
|
||||
after_test:
|
||||
- make version
|
||||
- choco install pandoc -y
|
||||
- '%LOCALAPPDATA%\Pandoc\pandoc.exe -o README.html README.md'
|
||||
- '%LOCALAPPDATA%\Pandoc\pandoc.exe -o CONTRIBUTING.html CONTRIBUTING.md'
|
||||
|
||||
Reference in New Issue
Block a user