mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-19 06:21:41 -04:00
this will for example allow me to have the following alias: alias buildmain='export T=$(mktemp -d) && ALL_XC_OS="linux darwin windows" ALL_XC_ARCH="amd64" GOLDFLAGS="-s -w" ./scripts/build.sh && cd pkg/ && for dir in *; do zip -r "$dir.zip" $dir & ; done ; wait && mv *.zip $T/. && open $T' that build only on 'main' platforms, so that I can share binaries easily.