1#!/bin/bash
2
3# Options
4repo=projectm
5SRC=/c/GIT/$repo
6
7# Define a timestamp function
8timestamp() {
9	date +"%Y%m%d%H%M%S"
10}
11
12
13build_logs=$SRC/build_logs
14mkdir -p $build_logs
15
16if test ${GCCBUILD+defined}; then
17echo "GCC BUILD"
18filename=$build_logs/projectm-gcc-$(timestamp).txt
19else
20echo "MSVC BUILD"
21filename=$build_logs/projectm-msvc-$(timestamp).txt
22fi
23
24sh -x publish_eyetune_build.sh \
252>&1 \
26| tee -a $filename
27
28echo "done"
29