-
Notifications
You must be signed in to change notification settings - Fork 181
/
Copy pathMakefile
27 lines (19 loc) · 940 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
.PHONY: development production watch watch-production
all: production
composer.lock:
@composer update
yarn.lock:
@if [ ! -f ./yarn.lock ]; then yarn --silent install; else yarn --silent upgrade; fi
data/github:
@./bin/github-download-organization-repos-latest-releases-data libimobiledevice
watch: export CECIL_DEBUG=true
watch: composer.lock yarn.lock data/github
@rm -rf .cache && ln -sf config.development.yml config.yml && ./vendor/bin/cecil serve
watch-production: export CECIL_DEBUG=false
watch-production: composer.lock yarn.lock data/github
@rm -rf .cache && ln -sf config.production.yml config.yml && ./vendor/bin/cecil serve
development: export CECIL_DEBUG=true
development: composer.lock yarn.lock data/github
@rm -rf .cache && ln -sf [email protected] config.yml && ./vendor/bin/cecil build
production: composer.lock yarn.lock data/github
@rm -rf .cache && ln -sf [email protected] config.yml && ./vendor/bin/cecil build