First draft of a build system. This will run the hello function from our library.
30 lines
387 B
Bash
Executable File
30 lines
387 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Build script to build everything
|
|
|
|
set echo on
|
|
|
|
mkdir -p bin/
|
|
|
|
echo "Building all.."
|
|
|
|
pushd quantum
|
|
source build.sh
|
|
popd
|
|
|
|
ERRORLEVEL=$?
|
|
if [ $ERRORLEVEL -ne 0 ]; then
|
|
echo "Error:"$ERRORLEVEL && exit
|
|
fi
|
|
|
|
pushd test_stuff
|
|
source build.sh
|
|
popd
|
|
|
|
ERRORLEVEL=$?
|
|
if [ $ERRORLEVEL -ne 0 ]; then
|
|
echo "Error:"$ERRORLEVEL && exit
|
|
fi
|
|
|
|
echo "All assemblies built successfully!!!!"
|