Support building specific architectures.

master
Harshavardhana 8 years ago
parent ee0172dfe4
commit f9025652df
  1. 6
      buildscripts/build.sh

@ -70,12 +70,14 @@ main() {
done
read -p "If you want to build for all, Just press Enter: " chosen_osarch
if [ "$chosen_osarch" = "" ]; then
if [ "$chosen_osarch" = "" ] || [ "$chosen_osarch" = "all" ]; then
for each_osarch in ${SUPPORTED_OSARCH}; do
go_build ${each_osarch}
done
else
go_build ${chosen_osarch}
for each_osarch in $(echo $chosen_osarch | sed 's/,/ /g'); do
go_build ${each_osarch}
done
fi
}

Loading…
Cancel
Save