Newer
Older
# clone the DLLs and copy them into the control folder
- git clone https://gitlab.windenergy.dtu.dk/OpenLAC/control-binary/control-win32.git
- c:/Anaconda3/envs/pyHawc2/python -c "import shutil; shutil.copy('./Control-Win32/dtu_we_controller.dll', './dtu-10mw-rwt/control/dtu_we_controller.dll')"
- c:/Anaconda3/envs/pyHawc2/python -c "import shutil; shutil.copy('./Control-Win32/generator_servo.dll', './dtu-10mw-rwt/control/generator_servo.dll')"
- c:/Anaconda3/envs/pyHawc2/python -c "import shutil; shutil.copy('./Control-Win32/mech_brake.dll', './dtu-10mw-rwt/control/mech_brake.dll')"
- c:/Anaconda3/envs/pyHawc2/python -c "import shutil; shutil.copy('./Control-Win32/servo_with_limits.dll', './dtu-10mw-rwt/control/servo_with_limits.dll')"
- c:/Anaconda3/envs/pyHawc2/python -c "import shutil; shutil.copy('./Control-Win32/towerclearance_mblade.dll', './dtu-10mw-rwt/control/towerclearance_mblade.dll')"
# use python's shutil to make the archive
- c:/Anaconda3/envs/pyHawc2/python -c "import shutil; shutil.make_archive('dtu-10mw-rwt', 'zip', 'dtu-10mw-rwt')"
# (later) make the report
# - git clone git@gitlab.windenergy.dtu.dk:HAWC2/hawc2-binary/hawc2-win32.git
# - hawc2-win32/HAWC2MB.exe htc\DTU_10MW_RWT.htc
# - hawc2-win32/HAWC2MB.exe htc\DTU_10MW_RWT_step.htc