You can create a batch script package to compile AutoIt.
For instance:
@echo off set FOLDER_CURRENT=%cd% set VERSION=v0.xxx set STATUS=prod set NAME_PROJECT=nameProject_%VERSION%_%STATUS% set EXE_OUT=%NAME_PROJECT%.exe set FOLDER_SRC=%FOLDER_CURRENT%\..\src\ set FOLDER_OUT=%FOLDER_CURRENT%\%VERSION%\%NAME_PROJECT% set ICON_PATH=%FOLDER_SRC%\images\icon.ico set AUT2EXE_ARGS=/in "%FOLDER_SRC%\main_script.au3" /out "%FOLDER_OUT%\%EXE_OUT%" /icon "%ICON_PATH%" echo
In this batch of script you can do more things like:
- Create Output Directory
- Copy all necessary directories and ressources files (images, icon, ...)
- Create another file
- Close the output folder to simplify deployment.
- Press release on git server
source share