First build system
First draft of a build system. This will run the hello function from our library.
This commit is contained in:
29
build-all.sh
Executable file
29
build-all.sh
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/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!!!!"
|
||||
Reference in New Issue
Block a user