/+junk/FLECS-Template

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/FLECS-Template
1 by Gustav Hartvigsson
* Inital commit
1
#!/usr/bin/env bash
2
3
############
4
# Easy Access Config.
5
############
6
7
FLECS_TAG="v2.2.0" # Flecs version.
8
9
10
echo "----"
11
echo "Getting dependencies."
12
echo "----"
13
14
mkdir -p ./subprojects/
15
16
# Getting FLECS.
17
if [ ! -d ./subprojects/flecs ]
18
then
19
  git clone --branch $FLECS_TAG\
20
      https://github.com/SanderMertens/flecs \
21
      ./subprojects/flecs
22
else
23
  cd ./subprojects/flecs
24
  FLECS_BRANCH=$(git describe --tags)
25
  FLECS_REV=$(git log --pretty=format:'%h' -n 1)
26
  echo "FLECS ($FLECS_BRANCH, $FLECS_REV) already got."
27
fi
28
29
# Your Deps here.
30
31
echo "----"
32
echo "Done Getting Depenecies."
33
echo "----"