1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 04:30:38 +00:00

Hides the output of pushd/popd.

Manually adds the fix for line 15 -- from a previously merged PR
This commit is contained in:
Fellippe Heitor 2020-01-13 11:53:52 -03:00 committed by GitHub
parent 84f0deb441
commit 79fd7081da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,18 +12,18 @@ echo ""
find . -name "*.command" -exec chmod +x {} \; find . -name "*.command" -exec chmod +x {} \;
find . -type f -iname "*.a" -exec rm -f {} \; find . -type f -iname "*.a" -exec rm -f {} \;
find . -type f -iname "*.o" -exec rm -f {} \; find . -type f -iname "*.o" -exec rm -f {} \;
rm /internal/temp/* rm ./internal/temp/*
if [ -z "$(which g++)" ]; then if [ -z "$(which g++)" ]; then
echo "GNU C++ compiler not detected (g++)" echo "GNU C++ compiler not detected (g++)"
echo "Please install Apple Xcode and Apple Command Line Tools for Xcode" echo "Please install Apple's Command Line Tools for Xcode"
echo "before launching QB64 setup." echo "before launching QB64 setup."
Pause Pause
exit 1 exit 1
fi fi
echo "Building library 'LibQB'" echo "Building library 'LibQB'"
pushd internal/c/libqb/os/osx pushd internal/c/libqb/os/osx >/dev/null
rm -f libqb_setup.o rm -f libqb_setup.o
./setup_build.command ./setup_build.command
if [ ! -f ./libqb_setup.o ]; then if [ ! -f ./libqb_setup.o ]; then
@ -31,10 +31,10 @@ if [ ! -f ./libqb_setup.o ]; then
Pause Pause
exit 1 exit 1
fi fi
popd popd >/dev/null
echo "Building library 'FreeType'" echo "Building library 'FreeType'"
pushd internal/c/parts/video/font/ttf/os/osx pushd internal/c/parts/video/font/ttf/os/osx >/dev/null
rm -f src.o rm -f src.o
./setup_build.command ./setup_build.command
if [ ! -f ./src.o ]; then if [ ! -f ./src.o ]; then
@ -42,13 +42,13 @@ if [ ! -f ./src.o ]; then
Pause Pause
exit 1 exit 1
fi fi
popd popd >/dev/null
echo "Building 'QB64' (~3 min)" echo "Building 'QB64' (~3 min)"
cp ./internal/source/* ./internal/temp/ cp ./internal/source/* ./internal/temp/
pushd internal/c pushd internal/c >/dev/null
g++ -w qbx.cpp libqb/os/osx/libqb_setup.o parts/video/font/ttf/os/osx/src.o -framework GLUT -framework OpenGL -framework Cocoa -o ../../qb64 g++ -w qbx.cpp libqb/os/osx/libqb_setup.o parts/video/font/ttf/os/osx/src.o -framework GLUT -framework OpenGL -framework Cocoa -o ../../qb64
popd popd >/dev/null
echo "" echo ""
if [ -f ./qb64 ]; then if [ -f ./qb64 ]; then