Blame dev-build.sh

Ivan Mahonin 833ed7
#!/bin/bash
Ivan Mahonin 833ed7
Ivan Mahonin 833ed7
set -e
Ivan Mahonin 833ed7
Ivan Mahonin d4e89f
if [ "$2" == "clean" ]; then
Ivan Mahonin d4e89f
	scons PREFIX=$1 DEBUG=1 -c
Ivan Mahonin d4e89f
	scons PREFIX=$1-release BUILD_DIR=build-release -c
Ivan Mahonin d4e89f
	cd demo
Ivan Mahonin d4e89f
	scons -c
Ivan Mahonin d4e89f
else
Ivan Mahonin d4e89f
	scons PREFIX=$1 DEBUG=1 install
Ivan Mahonin d4e89f
	scons PREFIX=$1-release BUILD_DIR=build-release install
Ivan Mahonin d4e89f
	cd demo
Ivan Mahonin d4e89f
	scons
Ivan Mahonin d4e89f
fi