-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't publish to web; make artifacts
- Loading branch information
1 parent
a733157
commit 69054d8
Showing
3 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,41 @@ | ||
mkdir ddi\ | ||
mkdir ddi-lifecycle-all-outputs | ||
|
||
echo Validate | ||
cogs validate . | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
echo JSON | ||
cogs publish-json . ddi\json --overwrite | ||
cogs publish-json . ddi-lifecycle-all-outputs\json --overwrite | ||
|
||
echo GraphQL | ||
cogs publish-graphql . ddi\graphql --overwrite | ||
cogs publish-graphql . ddi-lifecycle-all-outputs\graphql --overwrite | ||
|
||
echo XSD | ||
cogs publish-xsd . ddi\xsd --overwrite --namespace "http://www.ddialliance.org/ddi" --namespacePrefix ddi | ||
cogs publish-xsd . ddi-lifecycle-all-outputs\xsd --overwrite --namespace "http://www.ddialliance.org/ddi" --namespacePrefix ddi | ||
|
||
echo UML | ||
cogs publish-uml . ddi\uml --location graphviz\release\bin\dot.exe --overwrite | ||
cogs publish-uml . ddi-lifecycle-all-outputs\uml --location graphviz\release\bin\dot.exe --overwrite | ||
|
||
echo OWL | ||
cogs publish-owl . ddi\owl --overwrite | ||
cogs publish-owl . ddi-lifecycle-all-outputs\owl --overwrite | ||
|
||
REM cogs publish-dot . --location ddi\dot graphviz\release\bin\dot.exe --overwrite --single | ||
REM cogs publish-dot . --location ddi\dot graphviz\release\bin\dot.exe --overwrite --all --inheritance | ||
REM cogs publish-dot . --location ddi-lifecycle-all-outputs\dot graphviz\release\bin\dot.exe --overwrite --single | ||
REM cogs publish-dot . --location ddi-lifecycle-all-outputs\dot graphviz\release\bin\dot.exe --overwrite --all --inheritance | ||
|
||
echo Sphinx | ||
cogs publish-sphinx . ddi\sphinx --location graphviz\release\bin\dot.exe --overwrite | ||
cogs publish-sphinx . ddi-lifecycle-all-outputs\sphinx --location graphviz\release\bin\dot.exe --overwrite | ||
|
||
echo C# | ||
cogs publish-cs . ddi\csharp --overwrite | ||
cogs publish-cs . ddi-lifecycle-all-outputs\csharp --overwrite | ||
|
||
echo Build Sphinx | ||
REM Generate documentation with Sphinx. | ||
PUSHD ddi\sphinx | ||
PUSHD ddi-lifecycle-all-outputs\sphinx | ||
CALL make dirhtml | ||
POPD \projects\ddimodel | ||
POPD | ||
|
||
echo Zipping artifacts | ||
7z a -tzip ddi.zip ddi\* | ||
echo Copy outputs | ||
|
||
|
||
|
||
echo Rename artifact directories |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters