-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
39 lines (27 loc) · 942 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
#
# JBZoo Toolbox - __PACKAGE__.
#
# This file is part of the JBZoo Toolbox project.
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#
# @license MIT
# @copyright Copyright (C) JBZoo.com, All rights reserved.
# @see https://github.com/JBZoo/__PACKAGE__
#
ifneq (, $(wildcard ./vendor/jbzoo/codestyle/src/init.Makefile))
include ./vendor/jbzoo/codestyle/src/init.Makefile
endif
update: ##@Project Install/Update all 3rd party dependencies
$(call title,"Install/Update all 3rd party dependencies")
@echo "Composer flags: $(JBZOO_COMPOSER_UPDATE_FLAGS)"
@composer update $(JBZOO_COMPOSER_UPDATE_FLAGS)
test-all: ##@Project Run all project tests at once
@make test
@make codestyle
# Cutline
skel-test: skel-build update test codestyle skel-reset
skel-build:
@php `pwd`/create-new-project.php Skeleton-Php
skel-reset:
@git reset --hard