Overview
SHA1:7e9b3e9a181c608307e7d119f97fe165c2bcc801
Date: 2016-08-18 00:33:47
User: bohwaz
Comment:Use a makefile to setup development dependencies
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-08-21
11:27
[07e297c2a2] Déplacement de la logique d'installation dans un objet, plus pratique pour les fermes de Garradin (user: bohwaz, tags: trunk, stable)
2016-08-18
00:33
[7e9b3e9a18] Use a makefile to setup development dependencies (user: bohwaz, tags: trunk)
2016-07-20
13:05
[e148c3909c] Fix typo CSS, signalé par @sebastien (user: bohwaz, tags: trunk)
Changes

Added src/Makefile version [c42112d0d8].























>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
KD2_BRANCH=dev

deps:
	$(eval TMP_KD2=$(shell mktemp -d))
	cd ${TMP_KD2}

	wget https://fossil.kd2.org/kd2fw/zip/KD2+Framework-${KD2_BRANCH}.zip -O ${TMP_KD2}/kd2.zip
	unzip "${TMP_KD2}/kd2.zip" -d ${TMP_KD2}

	mv "${TMP_KD2}/KD2 Framework-${KD2_BRANCH}/src/lib/kd2" "include/lib/KD2"
	rm -rf ${TMP_KD2}

Deleted tools/setup_dependencies.sh version [7df69b5469].

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
#!/bin/sh

# Mise en place/à jour des dépendances

SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"

if [ ! -d "$SCRIPTPATH/../src" ]
then
	echo "$SCRIPTPATH n'est pas le bon chemin, ou répertoire src/ manquant"
	exit 0
fi

KEYWORD="checkout"
SRCPATH="$SCRIPTPATH/../src/include/lib"

# Template Lite
svn ${KEYWORD} https://svn.kd2.org/svn/misc/libs/template_lite/ "$SRCPATH/Template_Lite/"

dir=`mktemp -d` && cd $dir

wget https://fossil.kd2.org/kd2fw/zip/KD2+Framework-trunk.zip
unzip "KD2+Framework-trunk.zip"

mv "KD2 Framework-trunk/src/lib/kd2" "$SRCPATH/KD2"

cd "$SRCPATH"

rm -rf "$dir"
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<