Packages MacOS, Linux and Windows binaries, into a single script that is executable everywhere and executes the correct binary for the system.
Requirements:
- Golang
Running build.sh will cross compile for all 3 major OS's and output to dist/
Supply it with pre compiled binaries for whichever platform you wish to run on:
./CrossBin -w path_to_windows_binary -l path_to_linux_binary -m path_to_macos_binary -o output_file
Default output file is CrossBin.ps1