-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathMakefile
40 lines (30 loc) · 926 Bytes
/
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
30
31
32
33
34
35
36
37
38
39
40
# File Name: Makefile
# Purpose : Symplify project commands
# Author : Victor Arnaud
# Date : 05/11/2017
# Execute some targets in django.mk file with command $ make
all: migrations migrate compilemessages superuser run
# Phone target are used when target not be a file
# If we have a file with same name of target, the
# command will run the same way.
.PHONE: all
# Documentation
doc-serve:
# Run the mkdocs server
mkdocs serve
doc:
# Build the documentation
mkdocs gh-deploy
# DJANGO
include makefiles/django.mk
# TEST
include makefiles/test.mk
# DOCKER
include makefiles/docker.mk
# INSTALL
include makefiles/install.mk
# SHELL
# make <target>: Execute the commands inside the target
# make -f <filename> <target>: Execute Makefile with another name
# make <target> -n: Show the commands that will be executed by this target
# make <target> -s: Execute the commands without show the commands (silense)