-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed some more build errors and updated ReadMe
- Loading branch information
1 parent
17a94a6
commit 31d7486
Showing
7 changed files
with
55 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
#!/bin/bash | ||
export LANG=en_US.UTF-8 | ||
export LC_ALL="en_US.UTF-8" | ||
release_dir=${HOME}/release | ||
|
||
echo "Building Ubuntu binaries" | ||
./manager.sh -p ubuntu -r ${release_dir}/ubuntu64 > ubuntu_output.txt 2>&1 | ||
if [[ $? -eq 0 ]]; then | ||
echo "Building of Ubuntu binaries succeeded" | ||
fi | ||
trap 'echo "Batch script killed"; exit 1' INT TERM | ||
|
||
echo "Building Fedora binaries" | ||
./manager.sh -p fedora -r ${release_dir}/fedora64 > fedora_output.txt 2>&1 | ||
if [[ $? -eq 0 ]]; then | ||
echo "Building of Fedora binaries succeeded" | ||
fi | ||
release_dir=${HOME}/release | ||
|
||
echo "Building CentOS binaries" | ||
./manager.sh -p centos -r ${release_dir}/centos64 > centos_output.txt 2>&1 | ||
if [[ $? -eq 0 ]]; then | ||
echo "Building of CentOS binaries succeeded" | ||
fi | ||
platforms=() | ||
platforms+=(osx) | ||
#platforms+=(win64) | ||
#platforms+=(win32) | ||
#platforms+=(centos) | ||
#platforms+=(fedora) | ||
#platforms+=(ubuntu) | ||
|
||
echo "Building native 64-bit Windows binaries" | ||
./manager.sh -p nw64 -r ${release_dir}/win64 > nw64_output.txt 2>&1 | ||
if [[ $? -eq 0 ]]; then | ||
echo "Building of native 64-bit Windows binaries succeeded" | ||
fi | ||
for platform in ${platforms[@]}; do | ||
echo "Building $platform binaries" | ||
./manager.sh -p $platform -r ${release_dir}/$platform > ${platform}_output.txt 2>&1 | ||
if [[ $? -eq 0 ]]; then | ||
echo "Building of ${platform} binaries succeeded" | ||
else | ||
echo "Building of ${platform} binaries failed" | ||
fi | ||
done | ||
|
||
echo "Building native 32-bit Windows binaries" | ||
./manager.sh -p nw32 -r ${release_dir}/win32 > nw32_output.txt 2>&1 | ||
if [[ $? -eq 0 ]]; then | ||
echo "Building of native 32-bit Windows binaries succeeded" | ||
fi | ||
# for the osx build, root priviliges are necessary but we can skip the password prompt: | ||
# Vagrant NFS access https://www.vagrantup.com/docs/synced-folders/nfs.html#root-privilege-requirement | ||
# add the following lines with $sudo visudo | ||
#Cmnd_Alias VAGRANT_EXPORTS_CHOWN = /bin/chown 0\:0 /tmp/* | ||
#Cmnd_Alias VAGRANT_EXPORTS_MV = /bin/mv -f /tmp/* /etc/exports | ||
#Cmnd_Alias VAGRANT_NFSD_CHECK = /etc/init.d/nfs-kernel-server status | ||
#Cmnd_Alias VAGRANT_NFSD_START = /bin/systemctl start nfs-server.service | ||
#Cmnd_Alias VAGRANT_NFSD_APPLY = /usr/sbin/exportfs -ar | ||
#%sudo ALL=(root) NOPASSWD: VAGRANT_EXPORTS_CHOWN, VAGRANT_EXPORTS_MV, VAGRANT_NFSD_CHECK, VAGRANT_NFSD_START, VAGRANT_NFSD_APPLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters