forked from aces/Loris
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (25 loc) · 646 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (25 loc) · 646 Bytes
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
.PHONY: clean dev all check checkstatic unittests test phpdev javascript
all: VERSION javascript
composer install --no-dev
# If anything changes, re-generate the VERSION file
VERSION: .
tools/gen-version.sh
phpdev:
composer install
javascript:
npm install
npm run compile
dev: VERSION phpdev javascript
clean:
rm -f smarty/templates_c/*
rm -f VERSION
rm -rf vendor
# Perform static analysis checks
checkstatic: phpdev
npm run lint:php
npm run lint:javascript
vendor/bin/phan
unittests: phpdev
vendor/bin/phpunit --configuration test/phpunit.xml
# Perform all tests that don't require an install.
check: checkstatic unittests