-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
29 lines (22 loc) · 1.08 KB
/
Makefile
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
.PHONY: configure install start
# Règles obligatoires
bootstrap:
sudo apt-get update
sudo apt-get install -y ant
configure: install
# Configure app
ant configure build -Dprofile=developer-portal
install:
# Install app dependencies (composer, npm, etc)
./composer.phar install
./composer.phar install -d src/web/forum/extensions/constructions-incongrues/vanilla-ext-bookmarklet
./composer.phar install -d src/web/forum/extensions/constructions-incongrues/vanilla-ext-fields
start:
# Start service
# Dependencies are declared by adding a DEPENDENCIES= string at the end of the command
# eg. $(MAKE) -C ../../../.. musiquesincongrues-start-service DEPENDENCIES="rabbitmq ws"
$(MAKE) -C ../../../.. musiquesincongrues-start-service DEPENDENCIES="dbgp-proxy urlinfo"
# Règles propres au projet
# Vous pouvez définir des règles supplémentaires, propre au cycle de vie du projet
# Lors du développement, ces règles pourront être exécutées dans le contexte d'un container via
# la règle `<service>-make` : https://github.com/ARAMISAUTO/developer-portal/blob/master/README.md#service-make