Skip to content
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

Add python component docs generation to build.cmd #615

Merged
merged 2 commits into from
Jun 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified GrasshopperExamples/LectureExercises/EaCS3_E04_Hive_Template.gh
Binary file not shown.
Binary file modified setup/Setup_Hive.exe
Binary file not shown.
17 changes: 17 additions & 0 deletions setup/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ SET HB=C:\Users\Maxence\Documents\_ETH\2_Jobs\_Hive\honey-badger\honey-badger.py
SET MSBUILD=%PROGRAMFILES(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe
SET MAKENSIS=%PROGRAMFILES(X86)%\NSIS\makensis.exe

SET HIVEWIKIPY=C:\Users\Maxence\Documents\_ETH\2_Jobs\_Hive\hive.wiki\hbwiki.py

@REM Build Hive.Core
echo Building Hive.Core...
cd ..\src\Hive.Core\
Expand All @@ -35,4 +37,19 @@ echo Building Installer Setup_Hive.exe...
cd setup\
"%MAKENSIS%" hive.nsi
echo ...Done

@REM Generating Component Documentation for Wiki
echo Generating Component Documentation for Wiki...
cd ..\src\Hive.Core\
"%IPY%" "%HIVEWIKIPY%" epw_reader\Hive.Core.epw_reader.json
"%IPY%" "%HIVEWIKIPY%" sia380\Hive.Core.sia380.json
"%IPY%" "%HIVEWIKIPY%" solar\Hive.Core.solar.json
"%IPY%" "%HIVEWIKIPY%" solar_tech\Hive.Core.solar_tech.json
"%IPY%" "%HIVEWIKIPY%" combustion\Hive.Core.combustion.json
"%IPY%" "%HIVEWIKIPY%" cooling\Hive.Core.cooling.json
"%IPY%" "%HIVEWIKIPY%" heatpumps\Hive.Core.heatpumps.json

cd ..\..\setup\
echo ...Done

pause