Script for windows which helps to compile program to a different platforms.
Put compile.bat into go app folder and run it.
The script will create a folder "bin" and put all binaries there.
If 7zip is installed and added to PATH variable the script will detect and use it to compress binaries.
If you wish to specify output name of binaries you should pass this name as a parameter
- Verify you moved compile.bat to project folder
- If you don't need to specify output name just double click on
compile.bat
- Goto to item 5
- If you don't need to specify output name just double click on
- Open cmd.exe
- Change directory to Project Folder using command
cd
- Type
compile.bat <prefered_name>
if you wish output binaries should contain your <prefered_name> - Wait until script finish
- Find your binaries at ./bin/ folder.
MIT