/+junk/FLECS-Template

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/FLECS-Template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash

############
# Easy Access Config.
############

FLECS_TAG="v2.2.0" # Flecs version.


echo "----"
echo "Getting dependencies."
echo "----"

mkdir -p ./subprojects/

# Getting FLECS.
if [ ! -d ./subprojects/flecs ]
then
  git clone --branch $FLECS_TAG\
      https://github.com/SanderMertens/flecs \
      ./subprojects/flecs
else
  cd ./subprojects/flecs
  FLECS_BRANCH=$(git describe --tags)
  FLECS_REV=$(git log --pretty=format:'%h' -n 1)
  echo "FLECS ($FLECS_BRANCH, $FLECS_REV) already got."
fi

# Your Deps here.

echo "----"
echo "Done Getting Depenecies."
echo "----"